Differences between revisions 4 and 5
Revision 4 as of 2008-10-09 18:14:30
Size: 1060
Editor: abuehl
Comment:
Revision 5 as of 2008-10-25 00:16:01
Size: 1283
Editor: DavidSoria
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
'''This extension is not distributed with Mercurial.''' '''This extension is distributed (as of 24.10.2008) with Mercurial.'''
Line 22: Line 22:
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).
Line 39: Line 43:
hgext.bookmarks = /path/to/bookmarks.py hgext.bookmarks =

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 =


CategoryExtension