Mercurial > hg
view tests/test-mq-qgoto.out @ 9827:4fe9ca519637
mdiff: fix diff -b/B/w on mixed whitespace hunks (issue127)
Previous code was computing hunks then checking if these hunks could be ignored
when taking whitespace/blank-lines options in accounts. This approach is simple
but fails with hunks containing both whitespace and non-whitespace changes, the
whole hunk is emitted while it can be mostly made of whitespace. The new
version normalize the whitespaces before hunk generation, and test for
blank-lines afterwards.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Wed, 11 Nov 2009 18:31:42 +0100 |
parents | 561ff8d9e4f0 |
children |
line wrap: on
line source
adding a popping c.patch popping b.patch now at: a.patch applying b.patch applying c.patch now at: c.patch popping c.patch now at: b.patch % Using index popping b.patch now at: a.patch applying b.patch applying c.patch now at: c.patch % No warnings when using index popping bug141421 popping bug314159 popping c.patch now at: b.patch applying c.patch applying bug314159 now at: bug314159 % Detect ambiguous non-index patch name "14" is ambiguous: bug314159 bug141421 abort: patch 14 not in series