diff -r 2bfb0598206a -r 60ad2ea5b106 mercurial/localrepo.py --- a/mercurial/localrepo.py Thu Apr 17 17:59:28 2014 -0400 +++ b/mercurial/localrepo.py Thu Apr 17 17:25:50 2014 -0400 @@ -106,9 +106,9 @@ return self._repo.known(nodes) def getbundle(self, source, heads=None, common=None, bundlecaps=None, - format='HG10'): + format='HG10', **kwargs): cg = exchange.getbundle(self._repo, source, heads=heads, - common=common, bundlecaps=bundlecaps) + common=common, bundlecaps=bundlecaps, **kwargs) if bundlecaps is not None and 'HG2X' in bundlecaps: # When requesting a bundle2, getbundle returns a stream to make the # wire level function happier. We need to build a proper object