mercurial/localrepo.py
changeset 25290 8f88f768e24c
parent 25274 144085249c3f
child 25623 0bee97fa1fa8
--- a/mercurial/localrepo.py	Tue May 26 14:52:47 2015 -0500
+++ b/mercurial/localrepo.py	Tue May 26 14:14:36 2015 -0700
@@ -944,7 +944,7 @@
         return None
 
     def transaction(self, desc, report=None):
-        if (self.ui.configbool('devel', 'all')
+        if (self.ui.configbool('devel', 'all-warnings')
                 or self.ui.configbool('devel', 'check-locks')):
             l = self._lockref and self._lockref()
             if l is None or not l.held:
@@ -1249,7 +1249,7 @@
 
         # We do not need to check for non-waiting lock aquisition.  Such
         # acquisition would not cause dead-lock as they would just fail.
-        if wait and (self.ui.configbool('devel', 'all')
+        if wait and (self.ui.configbool('devel', 'all-warnings')
                      or self.ui.configbool('devel', 'check-locks')):
             l = self._lockref and self._lockref()
             if l is not None and l.held: