Setting up a VCS Root to pull using a Mercurial tag
Answered
I am trying to setup a build configuration to pull from a Mercurial repository using a Mercurial tag. I have the "Default branch" field of the VCS root set to 'tag name'. Initially I had the "Default branch" field of the VCS root set to 'default' which worked fine but pulls only the tip revision. Here is the error that I get:
Failed for the root 'mercurial: http://MyRepository/' #46: Cannot find revision
of the default branch 'tag name' of vcs root mercurial: http://MyRepository
What am I doing wrong?
Thanks in advance for any replies!
Please sign in to leave a comment.
I know this is an old post but did you ever figure this out?
We personally did not figure it out and ended up writing a powershell script to call hg commands to sync the repositories.
I can't comment on whether JetBrains has updated TeamCityServer to allow this functionality.
Hello,
You can enable "Use tags as branches" option in Mercurial VCS root settings. It allows to monitor and check out tags as branches.