hg diff on a modified line

Matt Mackall mpm at selenic.com
Fri Sep 21 20:13:47 UTC 2012


On Fri, 2012-09-21 at 04:35 -0700, praveen_m86 wrote:
> Hello All,
> 
>                 If I am modifying a line in a tracked file and run hg diff,
> the output is as if i have removed the line and added a new line. Y is it so
> ?

Because around 1972, some guy in New Jersey named Douglas McIlroy
decided that's how a "diff" should work.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list