author | Mike Edgar <adgar@google.com> |
Wed, 29 Oct 2014 12:46:08 -0400 | |
changeset 23218 | 0e78ea8e592a |
parent 23217 | 2f12ac53b528 |
child 23219 | 61cd79ac4b99 |
--- a/mercurial/exchange.py Sat Oct 25 00:40:51 2014 -0400 +++ b/mercurial/exchange.py Wed Oct 29 12:46:08 2014 -0400 @@ -1182,10 +1182,11 @@ b2caps.update(bundle2.decodecaps(blob)) bundler = bundle2.bundle20(repo.ui, b2caps) + kwargs['heads'] = heads + kwargs['common'] = common + for name in getbundle2partsorder: func = getbundle2partsmapping[name] - kwargs['heads'] = heads - kwargs['common'] = common func(bundler, repo, source, bundlecaps=bundlecaps, b2caps=b2caps, **kwargs)