Community
Participate
Working Groups
Though it is not intended to use tags to get a revision in the Mercurial plugin, specifying any tag as a branch fails to update the workspace. It is because Mercurial keeps track of tags in .hgtags file that is also committed in the repository, the tag itself is not available at the tagged revision yet. As the Mercurial plugin first pulls revisions up to the specified tag and then updates the workspace, Mercurial cannot find a correct tag in the local repository and fails to do it. For the Mercurial plugin to work with tags correctly, the entire repository must be pulled locally since .hgtags can be commited far later than the tagged revision or even on another branch.