Any way to fake "hg annotate -w"?

Matt Mackall mpm at selenic.com
Fri Jun 27 10:14:24 CDT 2008


On Thu, 2008-06-26 at 23:11 -0500, Rob Landley wrote:
> Is this the difficulty you referred to, or is there more to it than that?

Not really.

Our underlying diff routine is not whitespace insensitive. So we strip
all the whitespace to be ignored from text, diff it, then add it back
in. This mostly works, but if we have substantive changes mixed with
whitespace changes, the whitespace ones will appear in the hunks.

In other words, the code's not quite clever enough.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list