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!

0
3 comments
Avatar
Permanently deleted user

I know this is an old post but did you ever figure this out?

0
Avatar
Permanently deleted user

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.

0

Hello,

You can enable "Use tags as branches" option in Mercurial VCS root settings. It allows to monitor and check out tags as branches.

0

Please sign in to leave a comment.