author | Pulkit Goyal <7895pulkit@gmail.com> |
Sun, 10 Dec 2017 04:46:50 +0530 | |
changeset 35357 | 056a9c8813aa |
parent 35356 | 7f410793c04d |
child 35358 | 8549ca7fcde1 |
mercurial/hook.py | file | annotate | diff | comparison | revisions |
--- a/mercurial/hook.py Sun Dec 10 04:46:39 2017 +0530 +++ b/mercurial/hook.py Sun Dec 10 04:46:50 2017 +0530 @@ -91,7 +91,7 @@ starttime = util.timer() try: - r = obj(ui=ui, repo=repo, hooktype=htype, **args) + r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args)) except Exception as exc: if isinstance(exc, error.Abort): ui.warn(_('error: %s hook failed: %s\n') %