revision set for working parent

Kevin Bullock kbullock+mercurial at ringworld.org
Sun Feb 6 13:17:32 CST 2011


On 6 Feb 2011, at 12:20 PM, Steve Borho wrote:

> 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()"


p1() and p2() are in for 1.8.

pacem in terris / mir / shanti / salaam / heiwa
Kevin R. Bullock



More information about the Mercurial-devel mailing list