diff hgext/eol.py @ 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 26dd532456cf
children de16c673455b
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()