##// END OF EJS Templates
fix minor bugs in localrepo.hook.
Vadim Gelfer -
r2190:b67fcd91 default
parent child Browse files
Show More
@@ -105,7 +105,7 b' class localrepository(object):'
105 '("%s" is not callable)') %
105 '("%s" is not callable)') %
106 (hname, funcname))
106 (hname, funcname))
107 try:
107 try:
108 r = obj(ui=ui, repo=repo, hooktype=name, **args)
108 r = obj(ui=self.ui, repo=self, hooktype=name, **args)
109 except (KeyboardInterrupt, util.SignalInterrupt):
109 except (KeyboardInterrupt, util.SignalInterrupt):
110 raise
110 raise
111 except Exception, exc:
111 except Exception, exc:
General Comments 0
You need to be logged in to leave comments. Login now