[PATCH] branchingrev: find the start of the branch containing a node
Thomas Arendsen Hein
thomas at intevation.de
Tue Feb 26 14:48:08 CST 2008
* Thomas Arendsen Hein <thomas at intevation.de> [20080226 21:39]:
>
> o 5~~ = 0
> |
> o 4~~ = 0
> /|
> o | 3~~ = 3
> | |
> | | o 2~~ = 2
> | |/
> | o 1~~ = 0
> |/
> o 0~~ = 0
On IRC we just found a better semantic, at least for the strip use
case: If I would strip foo~~ only the head(s) that are children of
foo will vanish, but no other head, so:
o 5~~ = 3
|
o 4~~ = 3
/|
o | 3~~ = 3
| |
| | o 2~~ = 2
| |/
| o 1~~ = 1
|/
o 0~~ = 0
Thomas
--
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
More information about the Mercurial-devel
mailing list