Mercurial Bookmarks

Hi,it seems that there is currently no support for hg bookmarks in TeamCity, but hg bookmarks have improved quite nicely in the latest version of mercurial.It there any plan to use them instead of branch names in the VCS settings ? It would allow to use more git-like workflowsCheersjeremie
3 comments
Comment actions Permalink

Hi Jeremie,

bookmarks are not supported yet, here is an issue you can vote for: http://youtrack.jetbrains.com/issue/TW-17489 .
Do you know how TeamCity can synchronize bookmarks in such a way that it gets exactly same bookmarks as on remote mercurial server? Last time I checked a manual conflict resolution was required when bookmarks diverged.

0
Comment actions Permalink
Since version 2.3 ( http://mercurial.selenic.com/wiki/WhatsNew ) hg pull get the bookmarks from remotes. So doing hg pull will get all remote bookmarks, and hg pull -B bookmark will only pull history for specified remote bookmark. This is the expected behavior. To push a bookmark to a remote, hg push -B bookmark does the job. Current active bookmark is now automatically moved on commit, and it is possible to rebase using bookmarks with hg rebase -b bookmarkToMove -d destinationBookmark It enables a workflow more git like with unnamed branches but moving bookmarks.. In the mercurial VCS plugin, it would be great to specify a branch or a bookmark ! Hope it helps, jeremie
0
Comment actions Permalink

Last time I tried, mercurial pulled new bookmarks from remote, but neither removed deleted bookmarks, nor updated diverded ones. Do you know how to accomplish that?

0

Please sign in to leave a comment.