[PATCH] parentrevspec: add foo~~ to follow back to the start of a branch

Florent Guillaume fg at nuxeo.com
Sat Feb 23 06:27:02 CST 2008


Florent Guillaume wrote:
> # HG changeset patch
> # User Florent Guillaume <fg at nuxeo.com>
> # Date 1203733549 -3600
> # Node ID fd7f39fc974d9455bfb3a4768839998b9f660e8b
> # Parent  50a277e6ceaeaa5f890cacc9dcab745a4387dd58
> parentrevspec: add foo~~ to follow back to the start of a branch

This patch makes it much more pleasant to work with named branches, 
because you can now quickly refer to the first changeset of your branch.
This is helpful for instance for hg strip, but also in other situations.

The syntax "foo~~" is a suggestion, but I found it easy to type and it 
goes well with the rest of the git shortcuts.

Florent

-- 
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com   http://www.nuxeo.org   +33 1 40 33 79 87


More information about the Mercurial-devel mailing list