changeset 33495:d78b7d734b63

patch: use devel.all-warnings to replace devel.all It appears to be a misspell in patch.py.
author Jun Wu <quark@fb.com>
date Wed, 12 Jul 2017 15:24:47 -0700
parents 30f2715be123
children 258298f4712b
files mercurial/patch.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/patch.py	Wed Jul 12 18:37:13 2017 -0400
+++ b/mercurial/patch.py	Wed Jul 12 15:24:47 2017 -0700
@@ -2567,7 +2567,7 @@
 
     gitmode = {'l': '120000', 'x': '100755', '': '100644'}
 
-    if relroot != '' and (repo.ui.configbool('devel', 'all')
+    if relroot != '' and (repo.ui.configbool('devel', 'all-warnings')
                           or repo.ui.configbool('devel', 'check-relroot')):
         for f in modified + added + removed + copy.keys() + copy.values():
             if f is not None and not f.startswith(relroot):