Mercurial's -w switch to diff is more or less broken. If you're on a platform which has a sane diff program, you can use the following in your hgrc instead:
[extensions] hgext.extdiff = [extdiff] cmd.wdiff = diff opts.wdiff = -p -U 8 -w -r -N
Then use hg wdiff the same way you'd have used hg diff.
That's
https://developer.mozilla.org/en/Mercurial_FAQ#How_do_I.c2.a0get_a_diff_-w.3f
Great, but people keep asking me how to do that.... the more places it is, the better, I guess. ;)
Posted by: Boris on October 7, 2009 7:28 PM