Show More
@@ -2528,7 +2528,8 b' def bundle2getvars(op, part):' | |||||
2528 | @parthandler(b'stream2', (b'requirements', b'filecount', b'bytecount')) |
|
2528 | @parthandler(b'stream2', (b'requirements', b'filecount', b'bytecount')) | |
2529 | def handlestreamv2bundle(op, part): |
|
2529 | def handlestreamv2bundle(op, part): | |
2530 |
|
2530 | |||
2531 |
requirements = urlreq.unquote(part.params[b'requirements']) |
|
2531 | requirements = urlreq.unquote(part.params[b'requirements']) | |
|
2532 | requirements = requirements.split(b',') if requirements else [] | |||
2532 | filecount = int(part.params[b'filecount']) |
|
2533 | filecount = int(part.params[b'filecount']) | |
2533 | bytecount = int(part.params[b'bytecount']) |
|
2534 | bytecount = int(part.params[b'bytecount']) | |
2534 |
|
2535 |
@@ -817,3 +817,9 b' Clone non-publishing with obsolescence' | |||||
817 | $ killdaemons.py |
|
817 | $ killdaemons.py | |
818 |
|
818 | |||
819 | #endif |
|
819 | #endif | |
|
820 | ||||
|
821 | Cloning a repo with no requirements doesn't give some obscure error | |||
|
822 | ||||
|
823 | $ mkdir -p empty-repo/.hg | |||
|
824 | $ hg clone -q --stream ssh://user@dummy/empty-repo empty-repo2 | |||
|
825 | $ hg --cwd empty-repo2 verify -q |
General Comments 0
You need to be logged in to leave comments.
Login now