specifying diff tool for rtf files
Matt Mackall
mpm at selenic.com
Mon Nov 26 16:51:41 UTC 2012
On Mon, 2012-11-26 at 16:39 +0000, Haszlakiewicz, Eric wrote:
> > -----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.
Consider an xmldiff tool. Normal diff would create a diff that patch(1)
accepted, "smart" format-aware tool would not.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list