Bookmarks Extension
This extension is distributed (as of 24.10.2008) with Mercurial.
Author: David Soria Parra
Download site: http://www.bitbucket.org/segv/hgbookmarks/overview/
Announcement: http://selenic.com/pipermail/mercurial/2008-October/021749.html
README: http://www.bitbucket.org/segv/hgbookmarks/src/tip/README
Overview
Bookmarks are markers on commits that move on commit. Therefore you can do a 'hg book newfeature' and work on that and the bookmark will move forward with every commit you do.
Bookmarks can be used to access the commit whenever a usual lookup is allowed, therefore you can merge and update bookmarks by their names.
Bookmarks are stored localy. You can use rsync or scp to copy the .hg/bookmarks file to a remote repository. You can also use hg id -r <bookmark> <repourl> to get the id of a bookmark (and therefore might manually track it).
An example usage:
$ hg book ds/feature-x .. hack .. hack .. $ hg commit .. hack .. hack .. $ hg commit $ hg update 4 # go back to old rev $ hg merge ds/feature-x
Configuration
Configure your .hgrc to enable the extension by adding following lines:
[extensions] hgext.bookmarks =