changegroup: more **kwargs
Differential Revision: https://phab.mercurial-scm.org/D273
--- a/mercurial/changegroup.py Mon Jul 24 11:16:32 2017 -0400
+++ b/mercurial/changegroup.py Mon Jul 24 11:28:59 2017 -0400
@@ -390,13 +390,13 @@
if clstart >= len(repo):
return
- repo.hook("changegroup", **hookargs)
+ repo.hook("changegroup", **pycompat.strkwargs(hookargs))
for n in added:
args = hookargs.copy()
args['node'] = hex(n)
del args['node_last']
- repo.hook("incoming", **args)
+ repo.hook("incoming", **pycompat.strkwargs(args))
newheads = [h for h in repo.heads()
if h not in oldheads]