Differences between revisions 1 and 2
Revision 1 as of 2008-10-09 17:57:03
Size: 980
Editor: abuehl
Comment:
Revision 2 as of 2008-10-09 18:05:34
Size: 980
Editor: abuehl
Comment:
Deletions are marked like this. Additions are marked like this.
Line 37: Line 37:
info = path/to/bookmarks.py book = path/to/bookmarks.py

Bookmarks Extension

This extension is not distributed 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

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.

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]
book = path/to/bookmarks.py


CategoryExtension