Show More
@@ -1,3 +1,9 b'' | |||
|
1 | TRANSITIONAL CONFIG | |
|
2 | $ cat << EOF >> $HGRCPATH | |
|
3 | > [format] | |
|
4 | > sparse-revlog = yes | |
|
5 | > EOF | |
|
6 | ||
|
1 | 7 | #require no-chg |
|
2 | 8 | |
|
3 | 9 |
$ |
@@ -64,8 +70,8 b' Test a normal behaving server, for sanit' | |||
|
64 | 70 | devel-peer-request: pairs: 81 bytes |
|
65 | 71 | sending hello command |
|
66 | 72 | sending between command |
|
67 |
remote: 4 |
|
|
68 | remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
73 | remote: 440 | |
|
74 | remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
69 | 75 | remote: 1 |
|
70 | 76 | devel-peer-request: protocaps |
|
71 | 77 | devel-peer-request: caps: * bytes (glob) |
@@ -86,9 +92,9 b' Server should answer the "hello" command' | |||
|
86 | 92 | i> write(6) -> 6: |
|
87 | 93 | i> hello\n |
|
88 | 94 | o> readline() -> 4: |
|
89 |
o> 4 |
|
|
90 |
o> readline() -> 4 |
|
|
91 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
95 | o> 440\n | |
|
96 | o> readline() -> 440: | |
|
97 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
92 | 98 | |
|
93 | 99 | `hg debugserve --sshstdio` works |
|
94 | 100 | |
@@ -96,8 +102,8 b' Server should answer the "hello" command' | |||
|
96 | 102 | $ hg debugserve --sshstdio << EOF |
|
97 | 103 | > hello |
|
98 | 104 | > EOF |
|
99 |
4 |
|
|
100 | capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
105 | 440 | |
|
106 | capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
101 | 107 | |
|
102 | 108 | I/O logging works |
|
103 | 109 | |
@@ -105,24 +111,24 b' I/O logging works' | |||
|
105 | 111 | > hello |
|
106 | 112 | > EOF |
|
107 | 113 | o> write(4) -> 4: |
|
108 |
o> 4 |
|
|
109 |
o> write(4 |
|
|
110 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
111 |
4 |
|
|
112 | capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
114 | o> 440\n | |
|
115 | o> write(440) -> 440: | |
|
116 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
117 | 440 | |
|
118 | capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
113 | 119 | o> flush() -> None |
|
114 | 120 | |
|
115 | 121 | $ hg debugserve --sshstdio --logiofile $TESTTMP/io << EOF |
|
116 | 122 | > hello |
|
117 | 123 | > EOF |
|
118 |
4 |
|
|
119 | capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
124 | 440 | |
|
125 | capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
120 | 126 | |
|
121 | 127 | $ cat $TESTTMP/io |
|
122 | 128 | o> write(4) -> 4: |
|
123 |
o> 4 |
|
|
124 |
o> write(4 |
|
|
125 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
129 | o> 440\n | |
|
130 | o> write(440) -> 440: | |
|
131 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
126 | 132 | o> flush() -> None |
|
127 | 133 | |
|
128 | 134 | $ cd .. |
@@ -147,9 +153,9 b' reply with empty response to the "betwee' | |||
|
147 | 153 | i> write(6) -> 6: |
|
148 | 154 | i> hello\n |
|
149 | 155 | o> readline() -> 4: |
|
150 |
o> 4 |
|
|
151 |
o> readline() -> 4 |
|
|
152 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
156 | o> 440\n | |
|
157 | o> readline() -> 440: | |
|
158 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
153 | 159 | i> write(98) -> 98: |
|
154 | 160 | i> between\n |
|
155 | 161 | i> pairs 81\n |
@@ -185,8 +191,8 b' SSH banner is not printed by default, ig' | |||
|
185 | 191 | remote: banner: line 7 |
|
186 | 192 | remote: banner: line 8 |
|
187 | 193 | remote: banner: line 9 |
|
188 |
remote: 4 |
|
|
189 | remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
194 | remote: 440 | |
|
195 | remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
190 | 196 | remote: 1 |
|
191 | 197 | devel-peer-request: protocaps |
|
192 | 198 | devel-peer-request: caps: * bytes (glob) |
@@ -243,9 +249,9 b' And test the banner with the raw protoco' | |||
|
243 | 249 | o> readline() -> 15: |
|
244 | 250 | o> banner: line 9\n |
|
245 | 251 | o> readline() -> 4: |
|
246 |
o> 4 |
|
|
247 |
o> readline() -> 4 |
|
|
248 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
252 | o> 440\n | |
|
253 | o> readline() -> 440: | |
|
254 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
249 | 255 | i> write(98) -> 98: |
|
250 | 256 | i> between\n |
|
251 | 257 | i> pairs 81\n |
@@ -295,13 +301,13 b' Sending an unknown command to the server' | |||
|
295 | 301 | i> write(6) -> 6: |
|
296 | 302 | i> hello\n |
|
297 | 303 | o> readline() -> 4: |
|
298 |
o> 4 |
|
|
304 | o> 440\n | |
|
299 | 305 | i> write(98) -> 98: |
|
300 | 306 | i> between\n |
|
301 | 307 | i> pairs 81\n |
|
302 | 308 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
303 |
o> readline() -> 4 |
|
|
304 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
309 | o> readline() -> 440: | |
|
310 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
305 | 311 | o> readline() -> 2: |
|
306 | 312 | o> 1\n |
|
307 | 313 | |
@@ -314,8 +320,8 b' Sending an unknown command to the server' | |||
|
314 | 320 | sending hello command |
|
315 | 321 | sending between command |
|
316 | 322 | remote: 0 |
|
317 |
remote: 4 |
|
|
318 | remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
323 | remote: 440 | |
|
324 | remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
319 | 325 | remote: 1 |
|
320 | 326 | devel-peer-request: protocaps |
|
321 | 327 | devel-peer-request: caps: * bytes (glob) |
@@ -363,9 +369,9 b' Send multiple unknown commands before he' | |||
|
363 | 369 | i> write(6) -> 6: |
|
364 | 370 | i> hello\n |
|
365 | 371 | o> readline() -> 4: |
|
366 |
o> 4 |
|
|
367 |
o> readline() -> 4 |
|
|
368 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
372 | o> 440\n | |
|
373 | o> readline() -> 440: | |
|
374 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
369 | 375 | i> write(98) -> 98: |
|
370 | 376 | i> between\n |
|
371 | 377 | i> pairs 81\n |
@@ -388,8 +394,8 b' Send multiple unknown commands before he' | |||
|
388 | 394 | remote: 0 |
|
389 | 395 | remote: 0 |
|
390 | 396 | remote: 0 |
|
391 |
remote: 4 |
|
|
392 | remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
397 | remote: 440 | |
|
398 | remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
393 | 399 | remote: 1 |
|
394 | 400 | devel-peer-request: protocaps |
|
395 | 401 | devel-peer-request: caps: * bytes (glob) |
@@ -445,9 +451,9 b' Send an unknown command before hello tha' | |||
|
445 | 451 | i> write(6) -> 6: |
|
446 | 452 | i> hello\n |
|
447 | 453 | o> readline() -> 4: |
|
448 |
o> 4 |
|
|
449 |
o> readline() -> 4 |
|
|
450 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
454 | o> 440\n | |
|
455 | o> readline() -> 440: | |
|
456 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
451 | 457 | i> write(98) -> 98: |
|
452 | 458 | i> between\n |
|
453 | 459 | i> pairs 81\n |
@@ -492,9 +498,9 b' Send an unknown command having an argume' | |||
|
492 | 498 | i> write(6) -> 6: |
|
493 | 499 | i> hello\n |
|
494 | 500 | o> readline() -> 4: |
|
495 |
o> 4 |
|
|
496 |
o> readline() -> 4 |
|
|
497 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
501 | o> 440\n | |
|
502 | o> readline() -> 440: | |
|
503 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
498 | 504 | i> write(98) -> 98: |
|
499 | 505 | i> between\n |
|
500 | 506 | i> pairs 81\n |
@@ -537,9 +543,9 b' Send an unknown command having an argume' | |||
|
537 | 543 | i> write(6) -> 6: |
|
538 | 544 | i> hello\n |
|
539 | 545 | o> readline() -> 4: |
|
540 |
o> 4 |
|
|
541 |
o> readline() -> 4 |
|
|
542 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
546 | o> 440\n | |
|
547 | o> readline() -> 440: | |
|
548 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
543 | 549 | i> write(98) -> 98: |
|
544 | 550 | i> between\n |
|
545 | 551 | i> pairs 81\n |
@@ -607,9 +613,9 b' Dictionary value for unknown command' | |||
|
607 | 613 | i> write(6) -> 6: |
|
608 | 614 | i> hello\n |
|
609 | 615 | o> readline() -> 4: |
|
610 |
o> 4 |
|
|
611 |
o> readline() -> 4 |
|
|
612 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
616 | o> 440\n | |
|
617 | o> readline() -> 440: | |
|
618 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
613 | 619 | |
|
614 | 620 | Incomplete dictionary send |
|
615 | 621 | |
@@ -689,9 +695,9 b' Send a command line with spaces' | |||
|
689 | 695 | i> write(6) -> 6: |
|
690 | 696 | i> hello\n |
|
691 | 697 | o> readline() -> 4: |
|
692 |
o> 4 |
|
|
693 |
o> readline() -> 4 |
|
|
694 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
698 | o> 440\n | |
|
699 | o> readline() -> 440: | |
|
700 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
695 | 701 | i> write(98) -> 98: |
|
696 | 702 | i> between\n |
|
697 | 703 | i> pairs 81\n |
@@ -723,9 +729,9 b' Send a command line with spaces' | |||
|
723 | 729 | i> write(6) -> 6: |
|
724 | 730 | i> hello\n |
|
725 | 731 | o> readline() -> 4: |
|
726 |
o> 4 |
|
|
727 |
o> readline() -> 4 |
|
|
728 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
732 | o> 440\n | |
|
733 | o> readline() -> 440: | |
|
734 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
729 | 735 | i> write(98) -> 98: |
|
730 | 736 | i> between\n |
|
731 | 737 | i> pairs 81\n |
@@ -766,9 +772,9 b' Send a command line with spaces' | |||
|
766 | 772 | i> write(6) -> 6: |
|
767 | 773 | i> hello\n |
|
768 | 774 | o> readline() -> 4: |
|
769 |
o> 4 |
|
|
770 |
o> readline() -> 4 |
|
|
771 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
775 | o> 440\n | |
|
776 | o> readline() -> 440: | |
|
777 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
772 | 778 | i> write(98) -> 98: |
|
773 | 779 | i> between\n |
|
774 | 780 | i> pairs 81\n |
@@ -795,9 +801,9 b' Send an unknown command after the "betwe' | |||
|
795 | 801 | i> write(6) -> 6: |
|
796 | 802 | i> hello\n |
|
797 | 803 | o> readline() -> 4: |
|
798 |
o> 4 |
|
|
799 |
o> readline() -> 4 |
|
|
800 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
804 | o> 440\n | |
|
805 | o> readline() -> 440: | |
|
806 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
801 | 807 | i> write(105) -> 105: |
|
802 | 808 | i> between\n |
|
803 | 809 | i> pairs 81\n |
@@ -836,9 +842,9 b' And one with arguments' | |||
|
836 | 842 | i> pairs 81\n |
|
837 | 843 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
838 | 844 | o> readline() -> 4: |
|
839 |
o> 4 |
|
|
840 |
o> readline() -> 4 |
|
|
841 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
845 | o> 440\n | |
|
846 | o> readline() -> 440: | |
|
847 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
842 | 848 | o> readline() -> 2: |
|
843 | 849 | o> 1\n |
|
844 | 850 | o> readline() -> 1: |
@@ -885,9 +891,9 b' Send a valid command before the handshak' | |||
|
885 | 891 | o> readline() -> 41: |
|
886 | 892 | o> 68986213bd4485ea51533535e3fc9e78007a711f\n |
|
887 | 893 | o> readline() -> 4: |
|
888 |
o> 4 |
|
|
889 |
o> readline() -> 4 |
|
|
890 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
894 | o> 440\n | |
|
895 | o> readline() -> 440: | |
|
896 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
891 | 897 | o> readline() -> 2: |
|
892 | 898 | o> 1\n |
|
893 | 899 | |
@@ -912,7 +918,7 b" And a variation that doesn't send the be" | |||
|
912 | 918 | o> readline() -> 41: |
|
913 | 919 | o> 68986213bd4485ea51533535e3fc9e78007a711f\n |
|
914 | 920 | o> readline() -> 4: |
|
915 |
o> 4 |
|
|
921 | o> 440\n | |
|
916 | 922 | |
|
917 | 923 | Send an upgrade request to a server that doesn't support that command |
|
918 | 924 | |
@@ -941,9 +947,9 b' Send an upgrade request to a server that' | |||
|
941 | 947 | i> pairs 81\n |
|
942 | 948 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
943 | 949 | o> readline() -> 4: |
|
944 |
o> 4 |
|
|
945 |
o> readline() -> 4 |
|
|
946 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
950 | o> 440\n | |
|
951 | o> readline() -> 440: | |
|
952 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
947 | 953 | o> readline() -> 2: |
|
948 | 954 | o> 1\n |
|
949 | 955 | o> readline() -> 1: |
@@ -960,8 +966,8 b' Send an upgrade request to a server that' | |||
|
960 | 966 | sending hello command |
|
961 | 967 | sending between command |
|
962 | 968 | remote: 0 |
|
963 |
remote: 4 |
|
|
964 | remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
969 | remote: 440 | |
|
970 | remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
965 | 971 | remote: 1 |
|
966 | 972 | devel-peer-request: protocaps |
|
967 | 973 | devel-peer-request: caps: * bytes (glob) |
@@ -1003,9 +1009,9 b' Send an upgrade request to a server that' | |||
|
1003 | 1009 | o> readline() -> 44: |
|
1004 | 1010 | o> upgraded this-is-some-token exp-ssh-v2-0003\n |
|
1005 | 1011 | o> readline() -> 4: |
|
1006 |
o> 4 |
|
|
1007 |
o> readline() -> 4 |
|
|
1008 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1012 | o> 439\n | |
|
1013 | o> readline() -> 440: | |
|
1014 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1009 | 1015 | |
|
1010 | 1016 | $ cd .. |
|
1011 | 1017 | |
@@ -1018,7 +1024,7 b' Send an upgrade request to a server that' | |||
|
1018 | 1024 | sending hello command |
|
1019 | 1025 | sending between command |
|
1020 | 1026 | protocol upgraded to exp-ssh-v2-0003 |
|
1021 | remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
1027 | remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
1022 | 1028 | devel-peer-request: protocaps |
|
1023 | 1029 | devel-peer-request: caps: * bytes (glob) |
|
1024 | 1030 | sending protocaps command |
@@ -1037,7 +1043,7 b' Verify the peer has capabilities' | |||
|
1037 | 1043 | sending hello command |
|
1038 | 1044 | sending between command |
|
1039 | 1045 | protocol upgraded to exp-ssh-v2-0003 |
|
1040 | remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
1046 | remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
1041 | 1047 | devel-peer-request: protocaps |
|
1042 | 1048 | devel-peer-request: caps: * bytes (glob) |
|
1043 | 1049 | sending protocaps command |
@@ -1051,7 +1057,7 b' Verify the peer has capabilities' | |||
|
1051 | 1057 | lookup |
|
1052 | 1058 | protocaps |
|
1053 | 1059 | pushkey |
|
1054 | streamreqs=generaldelta,revlogv1 | |
|
1060 | streamreqs=generaldelta,revlogv1,sparserevlog | |
|
1055 | 1061 | unbundle=HG10GZ,HG10BZ,HG10UN |
|
1056 | 1062 | unbundlehash |
|
1057 | 1063 | Bundle2 capabilities: |
@@ -1110,15 +1116,15 b' Command after upgrade to version 2 is pr' | |||
|
1110 | 1116 | o> readline() -> 44: |
|
1111 | 1117 | o> upgraded this-is-some-token exp-ssh-v2-0003\n |
|
1112 | 1118 | o> readline() -> 4: |
|
1113 |
o> 4 |
|
|
1114 |
o> readline() -> 4 |
|
|
1115 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1119 | o> 439\n | |
|
1120 | o> readline() -> 440: | |
|
1121 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1116 | 1122 | i> write(6) -> 6: |
|
1117 | 1123 | i> hello\n |
|
1118 | 1124 | o> readline() -> 4: |
|
1119 |
o> 4 |
|
|
1120 |
o> readline() -> 4 |
|
|
1121 | o> capabilities: branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1125 | o> 424\n | |
|
1126 | o> readline() -> 424: | |
|
1127 | o> capabilities: branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1122 | 1128 | |
|
1123 | 1129 | Multiple upgrades is not allowed |
|
1124 | 1130 | |
@@ -1148,9 +1154,9 b' Multiple upgrades is not allowed' | |||
|
1148 | 1154 | o> readline() -> 44: |
|
1149 | 1155 | o> upgraded this-is-some-token exp-ssh-v2-0003\n |
|
1150 | 1156 | o> readline() -> 4: |
|
1151 |
o> 4 |
|
|
1152 |
o> readline() -> 4 |
|
|
1153 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1157 | o> 439\n | |
|
1158 | o> readline() -> 440: | |
|
1159 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1154 | 1160 | i> write(45) -> 45: |
|
1155 | 1161 | i> upgrade another-token proto=irrelevant\n |
|
1156 | 1162 | i> hello\n |
@@ -1220,9 +1226,9 b' Upgrade request to unsupported protocol ' | |||
|
1220 | 1226 | i> write(6) -> 6: |
|
1221 | 1227 | i> hello\n |
|
1222 | 1228 | o> readline() -> 4: |
|
1223 |
o> 4 |
|
|
1224 |
o> readline() -> 4 |
|
|
1225 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1229 | o> 440\n | |
|
1230 | o> readline() -> 440: | |
|
1231 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1226 | 1232 | i> write(98) -> 98: |
|
1227 | 1233 | i> between\n |
|
1228 | 1234 | i> pairs 81\n |
@@ -1339,9 +1345,9 b' Test listkeys for listing namespaces' | |||
|
1339 | 1345 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1340 | 1346 | i> flush() -> None |
|
1341 | 1347 | o> readline() -> 4: |
|
1342 |
o> 4 |
|
|
1343 |
o> readline() -> 4 |
|
|
1344 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1348 | o> 440\n | |
|
1349 | o> readline() -> 440: | |
|
1350 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1345 | 1351 | o> readline() -> 2: |
|
1346 | 1352 | o> 1\n |
|
1347 | 1353 | o> readline() -> 1: |
@@ -1377,8 +1383,8 b' Test listkeys for listing namespaces' | |||
|
1377 | 1383 | o> readline() -> 62: |
|
1378 | 1384 | o> upgraded * exp-ssh-v2-0003\n (glob) |
|
1379 | 1385 | o> readline() -> 4: |
|
1380 |
o> 4 |
|
|
1381 |
o> read(4 |
|
|
1386 | o> 439\n | |
|
1387 | o> read(439) -> 439: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
1382 | 1388 | o> read(1) -> 1: |
|
1383 | 1389 | o> \n |
|
1384 | 1390 | sending listkeys command |
@@ -1427,9 +1433,9 b' With no bookmarks set' | |||
|
1427 | 1433 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1428 | 1434 | i> flush() -> None |
|
1429 | 1435 | o> readline() -> 4: |
|
1430 |
o> 4 |
|
|
1431 |
o> readline() -> 4 |
|
|
1432 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1436 | o> 440\n | |
|
1437 | o> readline() -> 440: | |
|
1438 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1433 | 1439 | o> readline() -> 2: |
|
1434 | 1440 | o> 1\n |
|
1435 | 1441 | o> readline() -> 1: |
@@ -1457,8 +1463,8 b' With no bookmarks set' | |||
|
1457 | 1463 | o> readline() -> 62: |
|
1458 | 1464 | o> upgraded * exp-ssh-v2-0003\n (glob) |
|
1459 | 1465 | o> readline() -> 4: |
|
1460 |
o> 4 |
|
|
1461 |
o> read(4 |
|
|
1466 | o> 439\n | |
|
1467 | o> read(439) -> 439: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
1462 | 1468 | o> read(1) -> 1: |
|
1463 | 1469 | o> \n |
|
1464 | 1470 | sending listkeys command |
@@ -1488,9 +1494,9 b' With a single bookmark set' | |||
|
1488 | 1494 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1489 | 1495 | i> flush() -> None |
|
1490 | 1496 | o> readline() -> 4: |
|
1491 |
o> 4 |
|
|
1492 |
o> readline() -> 4 |
|
|
1493 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1497 | o> 440\n | |
|
1498 | o> readline() -> 440: | |
|
1499 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1494 | 1500 | o> readline() -> 2: |
|
1495 | 1501 | o> 1\n |
|
1496 | 1502 | o> readline() -> 1: |
@@ -1521,8 +1527,8 b' With a single bookmark set' | |||
|
1521 | 1527 | o> readline() -> 62: |
|
1522 | 1528 | o> upgraded * exp-ssh-v2-0003\n (glob) |
|
1523 | 1529 | o> readline() -> 4: |
|
1524 |
o> 4 |
|
|
1525 |
o> read(4 |
|
|
1530 | o> 439\n | |
|
1531 | o> read(439) -> 439: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
1526 | 1532 | o> read(1) -> 1: |
|
1527 | 1533 | o> \n |
|
1528 | 1534 | sending listkeys command |
@@ -1555,9 +1561,9 b' With multiple bookmarks set' | |||
|
1555 | 1561 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1556 | 1562 | i> flush() -> None |
|
1557 | 1563 | o> readline() -> 4: |
|
1558 |
o> 4 |
|
|
1559 |
o> readline() -> 4 |
|
|
1560 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1564 | o> 440\n | |
|
1565 | o> readline() -> 440: | |
|
1566 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1561 | 1567 | o> readline() -> 2: |
|
1562 | 1568 | o> 1\n |
|
1563 | 1569 | o> readline() -> 1: |
@@ -1591,8 +1597,8 b' With multiple bookmarks set' | |||
|
1591 | 1597 | o> readline() -> 62: |
|
1592 | 1598 | o> upgraded * exp-ssh-v2-0003\n (glob) |
|
1593 | 1599 | o> readline() -> 4: |
|
1594 |
o> 4 |
|
|
1595 |
o> read(4 |
|
|
1600 | o> 439\n | |
|
1601 | o> read(439) -> 439: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
1596 | 1602 | o> read(1) -> 1: |
|
1597 | 1603 | o> \n |
|
1598 | 1604 | sending listkeys command |
@@ -1630,9 +1636,9 b' Test pushkey for bookmarks' | |||
|
1630 | 1636 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1631 | 1637 | i> flush() -> None |
|
1632 | 1638 | o> readline() -> 4: |
|
1633 |
o> 4 |
|
|
1634 |
o> readline() -> 4 |
|
|
1635 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1639 | o> 440\n | |
|
1640 | o> readline() -> 440: | |
|
1641 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1636 | 1642 | o> readline() -> 2: |
|
1637 | 1643 | o> 1\n |
|
1638 | 1644 | o> readline() -> 1: |
@@ -1670,8 +1676,8 b' Test pushkey for bookmarks' | |||
|
1670 | 1676 | o> readline() -> 62: |
|
1671 | 1677 | o> upgraded * exp-ssh-v2-0003\n (glob) |
|
1672 | 1678 | o> readline() -> 4: |
|
1673 |
o> 4 |
|
|
1674 |
o> read(4 |
|
|
1679 | o> 439\n | |
|
1680 | o> read(439) -> 439: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
1675 | 1681 | o> read(1) -> 1: |
|
1676 | 1682 | o> \n |
|
1677 | 1683 | sending pushkey command |
@@ -1722,9 +1728,9 b' Phases on empty repo' | |||
|
1722 | 1728 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1723 | 1729 | i> flush() -> None |
|
1724 | 1730 | o> readline() -> 4: |
|
1725 |
o> 4 |
|
|
1726 |
o> readline() -> 4 |
|
|
1727 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1731 | o> 440\n | |
|
1732 | o> readline() -> 440: | |
|
1733 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1728 | 1734 | o> readline() -> 2: |
|
1729 | 1735 | o> 1\n |
|
1730 | 1736 | o> readline() -> 1: |
@@ -1755,8 +1761,8 b' Phases on empty repo' | |||
|
1755 | 1761 | o> readline() -> 62: |
|
1756 | 1762 | o> upgraded * exp-ssh-v2-0003\n (glob) |
|
1757 | 1763 | o> readline() -> 4: |
|
1758 |
o> 4 |
|
|
1759 |
o> read(4 |
|
|
1764 | o> 439\n | |
|
1765 | o> read(439) -> 439: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
1760 | 1766 | o> read(1) -> 1: |
|
1761 | 1767 | o> \n |
|
1762 | 1768 | sending listkeys command |
@@ -1805,9 +1811,9 b' Two draft heads' | |||
|
1805 | 1811 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1806 | 1812 | i> flush() -> None |
|
1807 | 1813 | o> readline() -> 4: |
|
1808 |
o> 4 |
|
|
1809 |
o> readline() -> 4 |
|
|
1810 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1814 | o> 440\n | |
|
1815 | o> readline() -> 440: | |
|
1816 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1811 | 1817 | o> readline() -> 2: |
|
1812 | 1818 | o> 1\n |
|
1813 | 1819 | o> readline() -> 1: |
@@ -1843,8 +1849,8 b' Two draft heads' | |||
|
1843 | 1849 | o> readline() -> 62: |
|
1844 | 1850 | o> upgraded * exp-ssh-v2-0003\n (glob) |
|
1845 | 1851 | o> readline() -> 4: |
|
1846 |
o> 4 |
|
|
1847 |
o> read(4 |
|
|
1852 | o> 439\n | |
|
1853 | o> read(439) -> 439: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
1848 | 1854 | o> read(1) -> 1: |
|
1849 | 1855 | o> \n |
|
1850 | 1856 | sending listkeys command |
@@ -1882,9 +1888,9 b' Single draft head' | |||
|
1882 | 1888 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1883 | 1889 | i> flush() -> None |
|
1884 | 1890 | o> readline() -> 4: |
|
1885 |
o> 4 |
|
|
1886 |
o> readline() -> 4 |
|
|
1887 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1891 | o> 440\n | |
|
1892 | o> readline() -> 440: | |
|
1893 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1888 | 1894 | o> readline() -> 2: |
|
1889 | 1895 | o> 1\n |
|
1890 | 1896 | o> readline() -> 1: |
@@ -1918,8 +1924,8 b' Single draft head' | |||
|
1918 | 1924 | o> readline() -> 62: |
|
1919 | 1925 | o> upgraded * exp-ssh-v2-0003\n (glob) |
|
1920 | 1926 | o> readline() -> 4: |
|
1921 |
o> 4 |
|
|
1922 |
o> read(4 |
|
|
1927 | o> 439\n | |
|
1928 | o> read(439) -> 439: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
1923 | 1929 | o> read(1) -> 1: |
|
1924 | 1930 | o> \n |
|
1925 | 1931 | sending listkeys command |
@@ -1955,9 +1961,9 b' All public heads' | |||
|
1955 | 1961 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1956 | 1962 | i> flush() -> None |
|
1957 | 1963 | o> readline() -> 4: |
|
1958 |
o> 4 |
|
|
1959 |
o> readline() -> 4 |
|
|
1960 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1964 | o> 440\n | |
|
1965 | o> readline() -> 440: | |
|
1966 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
1961 | 1967 | o> readline() -> 2: |
|
1962 | 1968 | o> 1\n |
|
1963 | 1969 | o> readline() -> 1: |
@@ -1988,8 +1994,8 b' All public heads' | |||
|
1988 | 1994 | o> readline() -> 62: |
|
1989 | 1995 | o> upgraded * exp-ssh-v2-0003\n (glob) |
|
1990 | 1996 | o> readline() -> 4: |
|
1991 |
o> 4 |
|
|
1992 |
o> read(4 |
|
|
1997 | o> 439\n | |
|
1998 | o> read(439) -> 439: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
1993 | 1999 | o> read(1) -> 1: |
|
1994 | 2000 | o> \n |
|
1995 | 2001 | sending listkeys command |
@@ -2026,9 +2032,9 b' Setting public phase via pushkey' | |||
|
2026 | 2032 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
2027 | 2033 | i> flush() -> None |
|
2028 | 2034 | o> readline() -> 4: |
|
2029 |
o> 4 |
|
|
2030 |
o> readline() -> 4 |
|
|
2031 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
2035 | o> 440\n | |
|
2036 | o> readline() -> 440: | |
|
2037 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
2032 | 2038 | o> readline() -> 2: |
|
2033 | 2039 | o> 1\n |
|
2034 | 2040 | o> readline() -> 1: |
@@ -2067,8 +2073,8 b' Setting public phase via pushkey' | |||
|
2067 | 2073 | o> readline() -> 62: |
|
2068 | 2074 | o> upgraded * exp-ssh-v2-0003\n (glob) |
|
2069 | 2075 | o> readline() -> 4: |
|
2070 |
o> 4 |
|
|
2071 |
o> read(4 |
|
|
2076 | o> 439\n | |
|
2077 | o> read(439) -> 439: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
2072 | 2078 | o> read(1) -> 1: |
|
2073 | 2079 | o> \n |
|
2074 | 2080 | sending pushkey command |
@@ -2133,9 +2139,9 b' Test batching of requests' | |||
|
2133 | 2139 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
2134 | 2140 | i> flush() -> None |
|
2135 | 2141 | o> readline() -> 4: |
|
2136 |
o> 4 |
|
|
2137 |
o> readline() -> 4 |
|
|
2138 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
2142 | o> 440\n | |
|
2143 | o> readline() -> 440: | |
|
2144 | o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\n | |
|
2139 | 2145 | o> readline() -> 2: |
|
2140 | 2146 | o> 1\n |
|
2141 | 2147 | o> readline() -> 1: |
@@ -2173,8 +2179,8 b' Test batching of requests' | |||
|
2173 | 2179 | o> readline() -> 62: |
|
2174 | 2180 | o> upgraded * exp-ssh-v2-0003\n (glob) |
|
2175 | 2181 | o> readline() -> 4: |
|
2176 |
o> 4 |
|
|
2177 |
o> read(4 |
|
|
2182 | o> 439\n | |
|
2183 | o> read(439) -> 439: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash | |
|
2178 | 2184 | o> read(1) -> 1: |
|
2179 | 2185 | o> \n |
|
2180 | 2186 | sending batch with 3 sub-commands |
General Comments 0
You need to be logged in to leave comments.
Login now