Mercurial > hg-stable
changeset 20953:8d853cad6b14
localpeer: propagate bundlecaps in getbundle call
Best arguments are the ones in use...
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 04 Apr 2014 01:33:20 -0700 |
parents | b24ee5076b94 |
children | dba91f8060eb |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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.