equal
deleted
inserted
replaced
314 pycompat.bytestr(four), |
314 pycompat.bytestr(four), |
315 pycompat.bytestr(five), |
315 pycompat.bytestr(five), |
316 ) |
316 ) |
317 |
317 |
318 def getbundle( |
318 def getbundle( |
319 self, source, heads=None, common=None, bundlecaps=None, **kwargs |
319 self, |
|
320 source, |
|
321 heads=None, |
|
322 common=None, |
|
323 bundlecaps=None, |
|
324 remote_sidedata=None, |
|
325 **kwargs |
320 ): |
326 ): |
321 chunks = exchange.getbundlechunks( |
327 chunks = exchange.getbundlechunks( |
322 self._repo, |
328 self._repo, |
323 source, |
329 source, |
324 heads=heads, |
330 heads=heads, |
325 common=common, |
331 common=common, |
326 bundlecaps=bundlecaps, |
332 bundlecaps=bundlecaps, |
|
333 remote_sidedata=remote_sidedata, |
327 **kwargs |
334 **kwargs |
328 )[1] |
335 )[1] |
329 cb = util.chunkbuffer(chunks) |
336 cb = util.chunkbuffer(chunks) |
330 |
337 |
331 if exchange.bundle2requested(bundlecaps): |
338 if exchange.bundle2requested(bundlecaps): |