[PATCH] revset: add "diff" field to "matching" keyword
Matt Mackall
mpm at selenic.com
Thu Jun 14 23:09:07 UTC 2012
On Fri, 2012-06-15 at 00:57 +0200, Angel Ezquerra wrote:
> # HG changeset patch
> # User Angel Ezquerra <angel.ezquerra at gmail.com>
> # Date 1339623178 -7200
> # Node ID 66d2c87b434eccec5d36a2cfce87276311b8a407
> # Parent dea63b30ddd6797eee13026280dcbca4b00efccc
> revset: add "diff" field to "matching" keyword
>
> The new "diff" field lets you use the matching revset keyword to find revisions
> that apply the same change as the selected revisions.
>
> The match must be exact (i.e. same additions, same deletions, same modified
> lines and same change context).
..and apparently renames/copies as well.
This whole feature is _really_ expensive. We should probably at least
filter against matching changed files as listed in the changeset record
before actually trying to compute and compare diffs.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list