Iam just testing out Team City and am having problems with pushing a tag made in the repository back to the VCS host. We are using a Kiln Mercurial repository from Fog Bugz. The way that they work is to only have one branch in the repository. If you branch features , you actually create a new repository (http://help.fogcreek.com/7984/mercurial-branches-versus-kiln-branches)
So, our repository only has the "default" branch in it. We are currently pulling changes down and using the "VCS Labelling" build feature. This tags the TeamCity repo correctly and I can see it in the Change Log for the build. We also use the "Automatic Merge" feature with the default branch, which as I understand will push the changes (i.e. the tag applied) back. After a bit of digging around I found that there is an error when it tries to label the Kiln repo. I can't work out what the issue is. This is the error :
Failed: Failed to set label 'NxServer-7.30.08.2': 'hg --config ui.interactive=False push --config auth.tc.prefix=* --config auth.tc.username=TeamCity --config auth.tc.password=****** --config "auth.tc.schemes=http https" https://****.kilnhg.com/Repos/
It seems to be an authorisation problem, but I can't see what. It pulls the changes down from the central repository OK and if I run the 'Test Connection' on the VCS root, it says it is successful.
The TeamCity user for Mercurial is set up in Kiln as an Admin for the repsoitory , which has access to everything.
Any ideas ??!