Show More
@@ -305,8 +305,7 b' class bundlerepository:' | |||||
305 | b"can't process multiple changegroups" |
|
305 | b"can't process multiple changegroups" | |
306 | ) |
|
306 | ) | |
307 | cgpart = part |
|
307 | cgpart = part | |
308 |
|
308 | self._handle_bundle2_cg_part(bundle, part) | ||
309 | self._handlebundle2part(bundle, part) |
|
|||
310 |
|
309 | |||
311 | if not cgpart: |
|
310 | if not cgpart: | |
312 | raise error.Abort(_(b"No changegroups found")) |
|
311 | raise error.Abort(_(b"No changegroups found")) | |
@@ -343,10 +342,8 b' class bundlerepository:' | |||||
343 | [ctx.node() for ctx in self[self.firstnewrev :]], |
|
342 | [ctx.node() for ctx in self[self.firstnewrev :]], | |
344 | ) |
|
343 | ) | |
345 |
|
344 | |||
346 | def _handlebundle2part(self, bundle, part): |
|
345 | def _handle_bundle2_cg_part(self, bundle, part): | |
347 |
|
|
346 | assert part.type == b'changegroup' | |
348 | return |
|
|||
349 |
|
||||
350 | cgstream = part |
|
347 | cgstream = part | |
351 | version = part.params.get(b'version', b'01') |
|
348 | version = part.params.get(b'version', b'01') | |
352 | legalcgvers = changegroup.supportedincomingversions(self) |
|
349 | legalcgvers = changegroup.supportedincomingversions(self) |
General Comments 0
You need to be logged in to leave comments.
Login now