Show More
@@ -91,7 +91,7 b' def _pythonhook(ui, repo, htype, hname, ' | |||||
91 | starttime = util.timer() |
|
91 | starttime = util.timer() | |
92 |
|
92 | |||
93 | try: |
|
93 | try: | |
94 | r = obj(ui=ui, repo=repo, hooktype=htype, **args) |
|
94 | r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args)) | |
95 | except Exception as exc: |
|
95 | except Exception as exc: | |
96 | if isinstance(exc, error.Abort): |
|
96 | if isinstance(exc, error.Abort): | |
97 | ui.warn(_('error: %s hook failed: %s\n') % |
|
97 | ui.warn(_('error: %s hook failed: %s\n') % |
General Comments 0
You need to be logged in to leave comments.
Login now