eol: don't refer to a random name-captured ui object
authorBryan O'Sullivan <bryano@fb.com>
Tue, 20 Nov 2012 14:21:56 -0800
changeset 17955 4ae21a7568f3
parent 17954 4dc438ddd246
child 17956 a08775ec89f2
eol: don't refer to a random name-captured ui object Previously, we used a ui object captured at the time of monkeypatching.
hgext/eol.py
--- a/hgext/eol.py	Tue Nov 20 11:52:47 2012 -0800
+++ b/hgext/eol.py	Tue Nov 20 14:21:56 2012 -0800
@@ -307,7 +307,7 @@
                 eolmtime = 0
 
             if eolmtime > cachemtime:
-                ui.debug("eol: detected change in .hgeol\n")
+                self.ui.debug("eol: detected change in .hgeol\n")
                 wlock = None
                 try:
                     wlock = self.wlock()