mercurial/patch.py
changeset 33495 d78b7d734b63
parent 33270 f7b635716ef2
child 33584 ea8c2478c907
--- 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):