# HG changeset patch # User Bryan O'Sullivan # Date 2012-11-20 22:21:56 # Node ID 4ae21a7568f353dcb781df28d2acf458b06afcad # Parent 4dc438ddd246abae0708c6ac285f5f8ff315a66a eol: don't refer to a random name-captured ui object Previously, we used a ui object captured at the time of monkeypatching. diff --git a/hgext/eol.py b/hgext/eol.py --- a/hgext/eol.py +++ b/hgext/eol.py @@ -307,7 +307,7 @@ def reposetup(ui, repo): 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()