dirstate: fix invalid reference to self.ui
authorJames Mills <prologic@fb.com>
Mon, 19 Oct 2015 12:07:17 -0700
changeset 26782 cbd04ce641b9
parent 26781 1aee2ab0f902
child 26783 50213e4d25bf
dirstate: fix invalid reference to self.ui
mercurial/dirstate.py
--- 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()')