changeset 26782:cbd04ce641b9

dirstate: fix invalid reference to self.ui
author James Mills <prologic@fb.com>
date Mon, 19 Oct 2015 12:07:17 -0700
parents 1aee2ab0f902
children 50213e4d25bf
files mercurial/dirstate.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()')