Bug in 'hg diff'
Will Maier
willmaier at ml1.net
Tue Jul 24 15:44:24 CDT 2007
On Tue, Jul 24, 2007 at 09:19:06PM +0200, Guido Ostkamp wrote:
> When I fix this, I always end up with a lot of changes (mostly
> automatically generated by vim or indent), however nothing has
> really changed from compilers point of view. This can usually be
> verified using the '-w' switch of the regular diff and of course I
> expected the same kind of output here.
That's reasonable; I think I got sidetracked because it seemed you
wanted -b to do what -w should do. There's a bug in the tracker that
seems relevant to your "-w misses some cases" report:
http://www.selenic.com/mercurial/bts/issue127
> >You can just use regular diff if you'd like; see the extdiff
> >extension.
>
> I wonder what the 'hg diff' options are good for when they don't
> work as expected.
hg diff is nice because not all platforms have a (useful) system
diff to fall back on. Its handling of whitespace is buggy, but I
still think it's useful.
--
[Will Maier]-----------------[willmaier at ml1.net|http://www.lfod.us/]
More information about the Mercurial
mailing list