Named branches in Mercurial
Hi,
When my product releases every 2 weeks we create a new named branch off of the 'default' branch. We only want to build release builds every 2 weeks after we've set up a named release branch.
The easiest way I think to do this is to update the "Default branch:" setting in the "Edit VCS" page. Normally the "Default branch:" has a value of "default". When I change the value to one of our release branches (release-11 in this case) I get this error:
"Failed for the root 'OnlinePM-TestBranching' #1989: Cannot find revision of the default branch 'release-11' of vcs root mercurial: https://hg.mycompany.com/OnlinePM/TestBranching
It appears like team city isn't working correctly.
All I really want team city to do is to run the command: hg clone source destination -b release-11
I've spent a few hours trying to get this working. Anyone out there know how to specify the exact branch I want to generate builds from with team city and mercurial?
Please sign in to leave a comment.
After more investigation I've found that if a mercurial named branch is closed that team city does not work - it will not pick up the branch from source control. If the branch is NOT closed then everything works like it should.
I believe I've found a bug with Team City. We are using Team City version 8.1.1 (build 29939).
Hi,
Now TeamCity works only with open branches. Please watch/vote for this issue - http://youtrack.jetbrains.com/issue/TW-21676.
Thanks Alina. I voted.