Gary> There seems to be no equivalent to wx pdiffs and wx pdiffs -c.
Gary> Formats I get from Hg I find hard to read.

Gary> How do I get the equivalent of wx pdiffs [-c]?

JBeck> You don't.  Unified diffs have long been the canonical format; get used
JBeck> to it.

David> Unified diffs might be the canonical format for bug reports, patches,
David> etc., but that doesn't mean they are always the best format for humans.
David> I frequently find context diffs offer a significant accuracy advantage
David> for understanding non-trivial changes over unified diffs.

David> So I read "get used to it" as "get used to lower quality".

Apparently my answer was a little too flip, as Gary just stopped me in the
hall to make sure I wasn't pissed at him.  :-)  What I meant was "get used
to this being the standard way of doing things"; I agree that there are
certain cases where `diff -c` is more readable than `diff -u` though in
my experience they are rare.  I leave it as an exercise to the reader how
to script up a for loop using `hg list`, $PARENT, $CHILD and $DIFF.

-- John

http://blogs.sun.com/jbeck

Reply via email to