Differences between revisions 3 and 4
Revision 3 as of 2008-10-09 18:12:22
Size: 992
Editor: abuehl
Comment:
Revision 4 as of 2008-10-09 18:14:30
Size: 1060
Editor: abuehl
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:

README: http://www.bitbucket.org/segv/hgbookmarks/src/tip/README

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

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.

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


CategoryExtension