# HG changeset patch # User Pierre-Yves David # Date 1399516097 25200 # Node ID 0055b5b3eb9c899c659faeefdf13dbf3c05182f6 # Parent 750c7c14a6372b73d02e0dde3a868ac7313c0c75 exchange: propagate arguments to the _getbundleextrapart function The arguments was wrongly propagated (again). diff -r 750c7c14a637 -r 0055b5b3eb9c mercurial/exchange.py --- a/mercurial/exchange.py Wed May 07 17:20:38 2014 -0700 +++ b/mercurial/exchange.py Wed May 07 19:28:17 2014 -0700 @@ -699,8 +699,8 @@ 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,