revision set for working parent

Steve Borho steve at borho.org
Sun Feb 6 12:20:54 CST 2011


Is there a revision set query to get the working parent revisions?  I
thought "p1()" would do this but it throws a parse error.  p1('.')
gives you the parent of the working parent, that doesn't help much.
This seems too useful not to have, for instance during a merge we
could tell people to:  hg revert FILE -r "p2()"

-- 
Steve Borho


More information about the Mercurial-devel mailing list