Bookmark workflow

Dennis Brakhane brakhane at googlemail.com
Sun Dec 14 06:15:36 CST 2008


On Sat, Dec 13, 2008 at 11:59:53PM -0600, Sean Kelley wrote:
> the intent of bookmarks.  I was hoping to use them like the
> aforementioned but not apparently maintained "localbranch" extension.

You can manually strip them if you activate the mq extension:

hg book my-bookmark
# hack, hack, hack
hg commit 
# message 'created new branch' appears, so we need to
# tag it
hg tag my-bookmark-base
# hack
hg commit
# realise the whole thing was a mistake
hg book -d my-bookmark
hg strip my-bookmark-base

Although I agree it would be nice if bookmark could automate this;
stripping the bookmark revision should only be done upon explicit request
(like book -d --also-strip ), of course


Greetings,
  Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://selenic.com/pipermail/mercurial/attachments/20081214/fb8a354b/attachment.pgp 


More information about the Mercurial mailing list