mercurial/localrepo.py
changeset 2190 b67fcd91dd1b
parent 2175 b2ae81a7df29
child 2221 05b6c13f43c6
--- a/mercurial/localrepo.py	Wed May 03 10:25:28 2006 -0700
+++ b/mercurial/localrepo.py	Wed May 03 11:00:24 2006 -0700
@@ -105,7 +105,7 @@
                                    '("%s" is not callable)') %
                                  (hname, funcname))
             try:
-                r = obj(ui=ui, repo=repo, hooktype=name, **args)
+                r = obj(ui=self.ui, repo=self, hooktype=name, **args)
             except (KeyboardInterrupt, util.SignalInterrupt):
                 raise
             except Exception, exc: