# HG changeset patch # User Pierre-Yves David # Date 1396600400 25200 # Node ID 8d853cad6b140a13be68af4a449292bbeddb7856 # Parent b24ee5076b94ea446a1e04dd976a1a9e409f0130 localpeer: propagate bundlecaps in getbundle call Best arguments are the ones in use... diff -r b24ee5076b94 -r 8d853cad6b14 mercurial/localrepo.py --- 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.