On Thu, Jun 5, 2008 at 8:11 AM, <claudio.natoli@...> wrote:
> Hello all,
> The various Tortoisehg diff panes (ie. like those in "View File Status",
> "HG Commit"/qct, or "View Changelog") appear to show output identical to
> the "hg diff" command.
> Source code edits that involve modifications to the start and end of a
> block, with the code in between re-indented for style and readability,
> create hunks that fall prey to a whitespace handling bug in "hg diff"
> (http://www.selenic.com/mercurial/bts/issue127), which diminishes the
> usefulness of these diff panes in such cases (ie. "hg diff" and the
> aforementioned diff panes will show the entire re-indented block as
> having been removed/added, instead of just the changed lines as you'd
> expect from a GNU diff -wbB).
> As such edits are common enough in one of our dev languages (lisp), I've
> configured "hg extdiff" to produce the desired GNU diff output
> equivalent output, but since I've been spoiled by the Tortoisehg gui I'm
> now wondering if it is possible to configure the aforementioned panes to
> use this output (or anything else that is GNU diff -w compliant)?
Since TortoiseHg is really just a GUI client for Mercurial, I feel
that it'd be best to ride on the fix in Mercurial itself. But I wonder
why the issue has not been resolved after more than two years. Does
the Mercurial team somehow feel that the issue is not really urgent?