mercurial/dirstate.py
changeset 26782 cbd04ce641b9
parent 26781 1aee2ab0f902
child 26887 663eff02a876
--- a/mercurial/dirstate.py	Sat Oct 17 00:58:46 2015 +0200
+++ b/mercurial/dirstate.py	Mon Oct 19 12:07:17 2015 -0700
@@ -662,7 +662,7 @@
         filename = self._filename
         if tr is False: # not explicitly specified
             if (self._ui.configbool('devel', 'all-warnings')
-                or self.ui.configbool('devel', 'check-dirstate-write')):
+                or self._ui.configbool('devel', 'check-dirstate-write')):
                 self._ui.develwarn('use dirstate.write with '
                                    'repo.currenttransaction()')