patch: use devel.all-warnings to replace devel.all
authorJun Wu <quark@fb.com>
Wed, 12 Jul 2017 15:24:47 -0700
changeset 33495 d78b7d734b63
parent 33494 30f2715be123
child 33496 258298f4712b
patch: use devel.all-warnings to replace devel.all It appears to be a misspell in patch.py.
mercurial/patch.py
--- 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):