comparison mercurial/localrepo.py @ 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 d3775db748a0
children dba91f8060eb
comparison
equal deleted inserted replaced
20952:b24ee5076b94 20953:8d853cad6b14
101 return self._repo.heads() 101 return self._repo.heads()
102 102
103 def known(self, nodes): 103 def known(self, nodes):
104 return self._repo.known(nodes) 104 return self._repo.known(nodes)
105 105
106 def getbundle(self, source, heads=None, common=None, bundlecaps=None): 106 def getbundle(self, source, heads=None, common=None, bundlecaps=None,
107 format='HG10'):
107 return changegroup.getbundle(self._repo, source, heads=heads, 108 return changegroup.getbundle(self._repo, source, heads=heads,
108 common=common, bundlecaps=None) 109 common=common, bundlecaps=bundlecaps)
109 110
110 # TODO We might want to move the next two calls into legacypeer and add 111 # TODO We might want to move the next two calls into legacypeer and add
111 # unbundle instead. 112 # unbundle instead.
112 113
113 def lock(self): 114 def lock(self):