Show More
@@ -728,6 +728,10 b' def unbundle(repo, cg, heads, source, ur' | |||
|
728 | 728 | tr = repo.transaction('unbundle') |
|
729 | 729 | tr.hookargs['bundle2-exp'] = '1' |
|
730 | 730 | r = bundle2.processbundle(repo, cg, lambda: tr).reply |
|
731 | cl = repo.unfiltered().changelog | |
|
732 | p = cl.writepending() and repo.root or "" | |
|
733 | repo.hook('b2x-pretransactionclose', throw=True, source=source, | |
|
734 | url=url, pending=p, **tr.hookargs) | |
|
731 | 735 | tr.close() |
|
732 | 736 | else: |
|
733 | 737 | r = changegroup.addchangegroup(repo, cg, source, url) |
General Comments 0
You need to be logged in to leave comments.
Login now