changeset 17955:4ae21a7568f3

eol: don't refer to a random name-captured ui object Previously, we used a ui object captured at the time of monkeypatching.
author Bryan O'Sullivan <bryano@fb.com>
date Tue, 20 Nov 2012 14:21:56 -0800
parents 4dc438ddd246
children a08775ec89f2
files hgext/eol.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()