# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1435082213 14400 # Node ID 125c11ec7bee22b326c2f5cd5ab0803469917ba7 # Parent e43e7d58a65d96303dbf50f279a2c30eec82d207 import: cross-reference patch.fuzz option from `hg help import` diff -r e43e7d58a65d -r 125c11ec7bee mercurial/commands.py --- a/mercurial/commands.py Tue Jun 23 13:57:39 2015 -0400 +++ b/mercurial/commands.py Tue Jun 23 13:56:53 2015 -0400 @@ -4174,9 +4174,10 @@ importing only the patch metadata. It is possible to use external patch programs to perform the patch - by setting the ``ui.patch`` configuration option. + by setting the ``ui.patch`` configuration option. For the default + internal tool, the fuzz can also be configured via ``patch.fuzz``. See :hg:`help config` for more information about configuration - files and how to use this option. + files and how to use these options. To read a patch from standard input, use "-" as the patch name. If a URL is specified, the patch will be downloaded from it. @@ -4208,6 +4209,10 @@ hg import --config ui.patch="patch --merge" fuzzy.patch + - change the default fuzzing from 2 to a less strict 7 + + hg import --config ui.fuzz=7 fuzz.patch + Returns 0 on success, 1 on partial success (see --partial). """