equal
deleted
inserted
replaced
2525 |
2525 |
2526 |
2526 |
2527 @parthandler(b'stream2', (b'requirements', b'filecount', b'bytecount')) |
2527 @parthandler(b'stream2', (b'requirements', b'filecount', b'bytecount')) |
2528 def handlestreamv2bundle(op, part): |
2528 def handlestreamv2bundle(op, part): |
2529 |
2529 |
2530 requirements = urlreq.unquote(part.params[b'requirements']).split(b',') |
2530 requirements = urlreq.unquote(part.params[b'requirements']) |
|
2531 requirements = requirements.split(b',') if requirements else [] |
2531 filecount = int(part.params[b'filecount']) |
2532 filecount = int(part.params[b'filecount']) |
2532 bytecount = int(part.params[b'bytecount']) |
2533 bytecount = int(part.params[b'bytecount']) |
2533 |
2534 |
2534 repo = op.repo |
2535 repo = op.repo |
2535 if len(repo): |
2536 if len(repo): |