Show More
@@ -673,6 +673,8 b' def addchangegroup(repo, source, srctype' | |||||
673 |
|
673 | |||
674 | if changesets > 0: |
|
674 | if changesets > 0: | |
675 | p = lambda: cl.writepending() and repo.root or "" |
|
675 | p = lambda: cl.writepending() and repo.root or "" | |
|
676 | if 'node' not in tr.hookargs: | |||
|
677 | tr.hookargs['node'] = hex(cl.node(clstart)) | |||
676 | repo.hook('pretxnchangegroup', throw=True, |
|
678 | repo.hook('pretxnchangegroup', throw=True, | |
677 | node=hex(cl.node(clstart)), source=srctype, |
|
679 | node=hex(cl.node(clstart)), source=srctype, | |
678 | url=url, pending=p) |
|
680 | url=url, pending=p) |
General Comments 0
You need to be logged in to leave comments.
Login now