exchange: propagate arguments to the _getbundleextrapart function

The arguments was wrongly propagated (again).

This a backport of 1c1da5990b8c
This commit is contained in:
Pierre-Yves David 2014-05-07 19:28:17 -07:00
parent f8ebc64925
commit d4684c05ab

View File

@ -699,8 +699,8 @@ def getbundle(repo, source, heads=None, common=None, bundlecaps=None,
bundler = bundle2.bundle20(repo.ui, b2caps)
part = bundle2.bundlepart('b2x:changegroup', data=cg.getchunks())
bundler.addpart(part)
_getbundleextrapart(bundler, repo, source, heads=None, common=None,
bundlecaps=None, **kwargs)
_getbundleextrapart(bundler, repo, source, heads=heads, common=common,
bundlecaps=bundlecaps, **kwargs)
return util.chunkbuffer(bundler.getchunks())
def _getbundleextrapart(bundler, repo, source, heads=None, common=None,