revision set for working parent
Steve Borho
steve at borho.org
Sun Feb 6 19:54:20 UTC 2011
On Sun, Feb 6, 2011 at 1:17 PM, Kevin Bullock
<kbullock+mercurial at ringworld.org> wrote:
> 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.
Oh. Thanks.
--
Steve Borho
More information about the Mercurial-devel
mailing list