localrepo.getbundle: drop unused 'format' argument
The 'format' argument was not used even when it was added in
60ad2ea5b106 (getbundle: pass arbitrary arguments all along the call
chain, 2014-04-17).
Note that by removing the argument, if any caller did pass a named
'format' argument, we will now pass that along to exchange.getbundle()
via the kwargs. If the idea was to remove such a key, that should have
been done explicitly.
--- a/mercurial/localrepo.py Tue Apr 07 12:35:07 2015 -0700
+++ b/mercurial/localrepo.py Tue Apr 07 08:45:52 2015 -0700
@@ -107,7 +107,7 @@
return self._repo.known(nodes)
def getbundle(self, source, heads=None, common=None, bundlecaps=None,
- format='HG10', **kwargs):
+ **kwargs):
cg = exchange.getbundle(self._repo, source, heads=heads,
common=common, bundlecaps=bundlecaps, **kwargs)
if bundlecaps is not None and 'HG2Y' in bundlecaps: