On Wednesday 15 February 2006 11:33, Mathieu Arnold wrote:
> New submission from Mathieu Arnold <hg@mat.cc>:
>
> It would really be nice if diff had some more options, one ignoring white
> space (horizontal and/or vertical) would be very nice.
There are two options for the diff lib in hg 0.8 and higher. You set them via
the .hgrc. The code also supports setting the number of context lines, but
apparently I forgot to add .hgrc entries for it.
[diff]
showfunc=True|False # default true
ignorews=True|False # default false
showfunc=True gives you diff -p
ignorews=True ignores spaces and tabs on a single line. vertical ws is still
factored in.
-chris
|