[PATCH 0 of 2] Better support for diffing individual changesets.

Martin Geisler mg at daimi.au.dk
Thu Oct 9 11:08:37 CDT 2008


cryo at cyanite.org writes:

> Hi Matt,
>
>> Ok, you've convinced me it's an interesting feature, I'm just not
>> sure I like having even more options for diff. It would be nice if
>> we had some standard way of referring to "the first parent of
>> changeset x", "the ancestor of x and y", etc. and then we'd have
>> more general capability everywhere without new options.
>
> Yes, that would definately be nice; why not adopt git's scheme? IIRC
> it's ^ for parent (which can be repeated) and ~n for n steps back?.
> Then "just" invent a symbol for 'other parent' (unless git already
> has one), % say, and we can do stuff like -r 14%-14 (and, say, -r %
> for 'parent 2 of wd').

Is this something more than what this extension does:

  http://www.selenic.com/mercurial/wiki/index.cgi/ParentrevspecExtension

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multi-Party Computation) to Python. See: http://viff.dk/.


More information about the Mercurial-devel mailing list