localpeer: propagate bundlecaps in getbundle call
Best arguments are the ones in use...
--- a/mercurial/localrepo.py Wed Apr 02 23:56:49 2014 -0700
+++ b/mercurial/localrepo.py Fri Apr 04 01:33:20 2014 -0700
@@ -103,9 +103,10 @@
def known(self, nodes):
return self._repo.known(nodes)
- def getbundle(self, source, heads=None, common=None, bundlecaps=None):
+ def getbundle(self, source, heads=None, common=None, bundlecaps=None,
+ format='HG10'):
return changegroup.getbundle(self._repo, source, heads=heads,
- common=common, bundlecaps=None)
+ common=common, bundlecaps=bundlecaps)
# TODO We might want to move the next two calls into legacypeer and add
# unbundle instead.