[PATCH 0 of 2] find the start of a branch
Florent Guillaume
fg at nuxeo.com
Tue Feb 26 07:07:03 CST 2008
This adds a revlog.branchingrev(rev) method that returns the revision that started the branch by forking from something that led to another head.
This assumes that the branch has a single head. Any intervening merges are allowed.
Adding also a foo~~ syntax to the parentrevspec extension to return that information quickly.
A good use case is hg strip foo~
Florent
More information about the Mercurial-devel
mailing list