Mercurial > hg
diff tests/test-import.t @ 25631:2748bf78a5bf
patch: add fuzz config flag (issue4697)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 18 Jun 2015 15:42:40 -0500 |
parents | 0b6dee81ebb7 |
children | 1f14920a892c |
line wrap: on
line diff
--- a/tests/test-import.t Fri Jun 19 11:17:11 2015 -0700 +++ b/tests/test-import.t Thu Jun 18 15:42:40 2015 -0500 @@ -492,6 +492,13 @@ $ echo line0 >> a $ hg ci -m brancha created new head + $ hg import --config patch.fuzz=0 -v fuzzy-tip.patch + applying fuzzy-tip.patch + patching file a + Hunk #1 FAILED at 0 + 1 out of 1 hunks FAILED -- saving rejects to file a.rej + abort: patch failed to apply + [255] $ hg import --no-commit -v fuzzy-tip.patch applying fuzzy-tip.patch patching file a