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

Matt Mackall mpm at selenic.com
Wed Oct 8 13:13:59 CDT 2008


On Wed, 2008-10-08 at 16:03 +0200, Sune Foldager wrote:
> These patches add a -c (--changeset) option to diff and extdiff.
> 
> When used (along a single revision given with -r), it behaves a bit
> like hg log -p -r, i.e. it returns the diff between that changeset
> and its (first) parent. Use --switch-parent to select the other parent.
> 
> If no revision is given, --switch-parent can still be used to diff
> the working directory against the second parent.

If I understand correctly, this is almost the same as hg export, no?

The difference being that it works with external diff?

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list