[Yanel-dev] Mercurial jumping branches (without names)

Cedric Staub cs.staub at cssx.ch
Tue Mar 8 14:46:36 CET 2011


On Tue, Mar 08, 2011 at 02:11:27PM +0100, Michael Wechner wrote:
> Hi
> 
> Cedric just taught me how to bookmark branches and how to jump from one 
> into the other:
> 
> Switch into branch with a specific changeset number: hg update 
> CHANGESET_NUMBER
> 
> Bookmark a specific branch: hg bookmarks BOOKMARK_NAME
> 
> Switch into branch which is bookarmed with a certain name: hg update 
> BOOKMARK_NAME
> 
> Show within which branch one currently is: hg summary
> 
> List all bookmarks: hg bookmarks

Sidenote: If you're using Mercurial before version 1.8, you need the
bookmarks extension to use bookmarks. Version 1.8 has it built-in.
See http://mercurial.selenic.com/wiki/BookmarksExtension
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20110308/d2bf3137/attachment.pgp>


More information about the Yanel-development mailing list