changeset 22968 | 01e98eba3bc1 |
parent 22960 | 7c13c9404c2c |
child 22969 | 805c18b27f48 |
--- a/mercurial/changegroup.py Tue Oct 14 23:53:35 2014 -0700 +++ b/mercurial/changegroup.py Tue Oct 14 00:03:03 2014 -0700 @@ -742,8 +742,9 @@ **hookargs) for n in added: - repo.hook("incoming", node=hex(n), source=srctype, - url=url) + args = hookargs.copy() + args['node'] = hex(n) + repo.hook("incoming", source=srctype, url=url, **args) newheads = [h for h in repo.heads() if h not in oldheads] repo.ui.log("incoming",