##// END OF EJS Templates
bundlerepo: expliclty handing cg part from bundle2...
marmoute -
r51091:2a7e8471 default
parent child Browse files
Show More
@@ -305,8 +305,7 b' class bundlerepository:'
305 305 b"can't process multiple changegroups"
306 306 )
307 307 cgpart = part
308
309 self._handlebundle2part(bundle, part)
308 self._handle_bundle2_cg_part(bundle, part)
310 309
311 310 if not cgpart:
312 311 raise error.Abort(_(b"No changegroups found"))
@@ -343,10 +342,8 b' class bundlerepository:'
343 342 [ctx.node() for ctx in self[self.firstnewrev :]],
344 343 )
345 344
346 def _handlebundle2part(self, bundle, part):
347 if part.type != b'changegroup':
348 return
349
345 def _handle_bundle2_cg_part(self, bundle, part):
346 assert part.type == b'changegroup'
350 347 cgstream = part
351 348 version = part.params.get(b'version', b'01')
352 349 legalcgvers = changegroup.supportedincomingversions(self)
General Comments 0
You need to be logged in to leave comments. Login now