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