Bookmark workflow
Peter Arrenbrecht
peter.arrenbrecht at gmail.com
Mon Dec 15 06:55:36 UTC 2008
On Sun, Dec 14, 2008 at 1:15 PM, Dennis Brakhane
<brakhane at googlemail.com> wrote:
> 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
If I remember correctly from IRC, the author of the bookmarks
extension is either already working on this, or at least considering
it.
-parren
More information about the Mercurial
mailing list