specifying diff tool for rtf files

Haszlakiewicz, Eric EHASZLA at transunion.com
Mon Nov 26 16:39:34 UTC 2012


> -----Original Message-----
> From: Matt Mackall [mailto:mpm at selenic.com]
> 
> On Fri, 2012-11-16 at 17:51 +0000, Haszlakiewicz, Eric wrote:
> > Is there a way to specify which diff tool to use for certain files?
> 
> No. Note that diff serves two somewhat conflicting purposes:
> 
> - compatibility with patch
> - human readability (strictly secondary)
> 
> ..so format-awareness is off the table. However:

Why does compatibility with patch preclude format awareness?  It's not like the default output does anything useful for binary files ("Binary file foo.doc has changed") so it's already incompatible with patch.

eric


More information about the Mercurial mailing list