Wish: clone to master bookmark und stay on bookmark on update

Sean Farley sean at mcs.anl.gov
Mon Oct 31 04:25:12 UTC 2011


>
> At the risk of making this a bigger thing than either of you want,
> perhaps a couple of "log schematics" might be helpful in illustrating
> both sides ...
>
> Maybe like the ones in
> <http://groups.google.com/group/mercurial_general/browse_frm/thread/
> c1a99d9d98ed9490#>
>
> I kinda know what each of you are getting at; such a diagram would
> firm things up.
>
> (you often see them in rebase threads, too)


Ah, sure, and sorry about the long delay (darn school). To explain further,
I am asking about not showing (by default, overridable by an option -B)
heads of bookmarks:

[D0]---[D1]---[D2]----[D3]---[D4]
        \
         [B0]---[B1]---[B2]

where D is the main line of work, and 'B' is a bookmark. So, calling 'heads'

$ hg heads
D4

$ hg heads -B
D4
B2

In the same way, this would apply to 'merge' as well:

$ hg merge
abort: there is nothing to merge

$ hg merge B
<merges B2 and D4>

Am I way off on this behavior? I'm willing to submit patches, if need be,
and the community is open to this, just let me know either way.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20111030/389dc444/attachment-0002.html>


More information about the Mercurial mailing list