# HG changeset patch # User Vadim Gelfer # Date 1146679224 25200 # Node ID b67fcd91dd1b7c5a44ec021c86e9c0242884c337 # Parent e3eba577a0ae4338c301cc6cd915016961db61ea fix minor bugs in localrepo.hook. diff -r e3eba577a0ae -r b67fcd91dd1b mercurial/localrepo.py --- 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: