Show More
@@ -55,8 +55,8 b' Test a normal behaving server, for sanit' | |||||
55 | devel-peer-request: pairs: 81 bytes |
|
55 | devel-peer-request: pairs: 81 bytes | |
56 | sending hello command |
|
56 | sending hello command | |
57 | sending between command |
|
57 | sending between command | |
58 |
remote: |
|
58 | remote: \d+ (re) | |
59 |
remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
59 | remote: capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (re) | |
60 | remote: 1 |
|
60 | remote: 1 | |
61 | devel-peer-request: protocaps |
|
61 | devel-peer-request: protocaps | |
62 | devel-peer-request: caps: * bytes (glob) |
|
62 | devel-peer-request: caps: * bytes (glob) | |
@@ -77,9 +77,9 b' Server should answer the "hello" command' | |||||
77 | i> write(6) -> 6: |
|
77 | i> write(6) -> 6: | |
78 | i> hello\n |
|
78 | i> hello\n | |
79 | o> readline() -> 4: |
|
79 | o> readline() -> 4: | |
80 |
o> |
|
80 | o> \d+\\n (re) | |
81 |
o> readline() -> |
|
81 | o> readline\(\) -> \d+: (re) | |
82 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
82 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
83 |
|
83 | |||
84 | `hg debugserve --sshstdio` works |
|
84 | `hg debugserve --sshstdio` works | |
85 |
|
85 | |||
@@ -87,8 +87,8 b' Server should answer the "hello" command' | |||||
87 | $ hg debugserve --sshstdio << EOF |
|
87 | $ hg debugserve --sshstdio << EOF | |
88 | > hello |
|
88 | > hello | |
89 | > EOF |
|
89 | > EOF | |
90 | 444 |
|
90 | \d+ (re) | |
91 |
capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
91 | capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (re) | |
92 |
|
92 | |||
93 | I/O logging works |
|
93 | I/O logging works | |
94 |
|
94 | |||
@@ -97,25 +97,25 b' I/O logging works' | |||||
97 | > EOF |
|
97 | > EOF | |
98 | e> flush() -> None |
|
98 | e> flush() -> None | |
99 | o> write(4) -> 4: |
|
99 | o> write(4) -> 4: | |
100 |
o> |
|
100 | o> \d+\\n (re) | |
101 |
o> write( |
|
101 | o> write\(\d+\) -> \d+: (re) | |
102 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
102 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
103 | 444 |
|
103 | \d+ (re) | |
104 |
capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
104 | capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (re) | |
105 | o> flush() -> None |
|
105 | o> flush() -> None | |
106 |
|
106 | |||
107 | $ hg debugserve --sshstdio --logiofile $TESTTMP/io << EOF |
|
107 | $ hg debugserve --sshstdio --logiofile $TESTTMP/io << EOF | |
108 | > hello |
|
108 | > hello | |
109 | > EOF |
|
109 | > EOF | |
110 | 444 |
|
110 | \d+ (re) | |
111 |
capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
111 | capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (re) | |
112 |
|
112 | |||
113 | $ cat $TESTTMP/io |
|
113 | $ cat $TESTTMP/io | |
114 | e> flush() -> None |
|
114 | e> flush() -> None | |
115 | o> write(4) -> 4: |
|
115 | o> write(4) -> 4: | |
116 |
o> |
|
116 | o> \d+\\n (re) | |
117 |
o> write( |
|
117 | o> write\(\d+\) -> \d+: (re) | |
118 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
118 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
119 | o> flush() -> None |
|
119 | o> flush() -> None | |
120 |
|
120 | |||
121 | $ cd .. |
|
121 | $ cd .. | |
@@ -140,9 +140,9 b' reply with empty response to the "betwee' | |||||
140 | i> write(6) -> 6: |
|
140 | i> write(6) -> 6: | |
141 | i> hello\n |
|
141 | i> hello\n | |
142 | o> readline() -> 4: |
|
142 | o> readline() -> 4: | |
143 |
o> |
|
143 | o> \d+\\n (re) | |
144 |
o> readline() -> |
|
144 | o> readline\(\) -> \d+: (re) | |
145 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
145 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
146 | i> write(98) -> 98: |
|
146 | i> write(98) -> 98: | |
147 | i> between\n |
|
147 | i> between\n | |
148 | i> pairs 81\n |
|
148 | i> pairs 81\n | |
@@ -177,8 +177,8 b' SSH banner is not printed by default, ig' | |||||
177 | remote: banner: line 7 |
|
177 | remote: banner: line 7 | |
178 | remote: banner: line 8 |
|
178 | remote: banner: line 8 | |
179 | remote: banner: line 9 |
|
179 | remote: banner: line 9 | |
180 |
remote: |
|
180 | remote: \d+ (re) | |
181 |
remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
181 | remote: capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (re) | |
182 | remote: 1 |
|
182 | remote: 1 | |
183 | devel-peer-request: protocaps |
|
183 | devel-peer-request: protocaps | |
184 | devel-peer-request: caps: * bytes (glob) |
|
184 | devel-peer-request: caps: * bytes (glob) | |
@@ -235,9 +235,9 b' And test the banner with the raw protoco' | |||||
235 | o> readline() -> 15: |
|
235 | o> readline() -> 15: | |
236 | o> banner: line 9\n |
|
236 | o> banner: line 9\n | |
237 | o> readline() -> 4: |
|
237 | o> readline() -> 4: | |
238 |
o> |
|
238 | o> \d+\\n (re) | |
239 |
o> readline() -> |
|
239 | o> readline\(\) -> \d+: (re) | |
240 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
240 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
241 | i> write(98) -> 98: |
|
241 | i> write(98) -> 98: | |
242 | i> between\n |
|
242 | i> between\n | |
243 | i> pairs 81\n |
|
243 | i> pairs 81\n | |
@@ -286,13 +286,13 b' Sending an unknown command to the server' | |||||
286 | i> write(6) -> 6: |
|
286 | i> write(6) -> 6: | |
287 | i> hello\n |
|
287 | i> hello\n | |
288 | o> readline() -> 4: |
|
288 | o> readline() -> 4: | |
289 |
o> |
|
289 | o> \d+\\n (re) | |
290 | i> write(98) -> 98: |
|
290 | i> write(98) -> 98: | |
291 | i> between\n |
|
291 | i> between\n | |
292 | i> pairs 81\n |
|
292 | i> pairs 81\n | |
293 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
293 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | |
294 |
o> readline() -> |
|
294 | o> readline\(\) -> \d+: (re) | |
295 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
295 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
296 | o> readline() -> 2: |
|
296 | o> readline() -> 2: | |
297 | o> 1\n |
|
297 | o> 1\n | |
298 |
|
298 | |||
@@ -304,8 +304,8 b' Sending an unknown command to the server' | |||||
304 | sending hello command |
|
304 | sending hello command | |
305 | sending between command |
|
305 | sending between command | |
306 | remote: 0 |
|
306 | remote: 0 | |
307 |
remote: |
|
307 | remote: \d+ (re) | |
308 |
remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
308 | remote: capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (re) | |
309 | remote: 1 |
|
309 | remote: 1 | |
310 | devel-peer-request: protocaps |
|
310 | devel-peer-request: protocaps | |
311 | devel-peer-request: caps: * bytes (glob) |
|
311 | devel-peer-request: caps: * bytes (glob) | |
@@ -353,9 +353,9 b' Send multiple unknown commands before he' | |||||
353 | i> write(6) -> 6: |
|
353 | i> write(6) -> 6: | |
354 | i> hello\n |
|
354 | i> hello\n | |
355 | o> readline() -> 4: |
|
355 | o> readline() -> 4: | |
356 |
o> |
|
356 | o> \d+\\n (re) | |
357 |
o> readline() -> |
|
357 | o> readline\(\) -> \d+: (re) | |
358 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
358 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
359 | i> write(98) -> 98: |
|
359 | i> write(98) -> 98: | |
360 | i> between\n |
|
360 | i> between\n | |
361 | i> pairs 81\n |
|
361 | i> pairs 81\n | |
@@ -377,8 +377,8 b' Send multiple unknown commands before he' | |||||
377 | remote: 0 |
|
377 | remote: 0 | |
378 | remote: 0 |
|
378 | remote: 0 | |
379 | remote: 0 |
|
379 | remote: 0 | |
380 |
remote: |
|
380 | remote: \d+ (re) | |
381 |
remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
381 | remote: capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (re) | |
382 | remote: 1 |
|
382 | remote: 1 | |
383 | devel-peer-request: protocaps |
|
383 | devel-peer-request: protocaps | |
384 | devel-peer-request: caps: * bytes (glob) |
|
384 | devel-peer-request: caps: * bytes (glob) | |
@@ -434,9 +434,9 b' Send an unknown command before hello tha' | |||||
434 | i> write(6) -> 6: |
|
434 | i> write(6) -> 6: | |
435 | i> hello\n |
|
435 | i> hello\n | |
436 | o> readline() -> 4: |
|
436 | o> readline() -> 4: | |
437 |
o> |
|
437 | o> \d+\\n (re) | |
438 |
o> readline() -> |
|
438 | o> readline\(\) -> \d+: (re) | |
439 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
439 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
440 | i> write(98) -> 98: |
|
440 | i> write(98) -> 98: | |
441 | i> between\n |
|
441 | i> between\n | |
442 | i> pairs 81\n |
|
442 | i> pairs 81\n | |
@@ -481,9 +481,9 b' Send an unknown command having an argume' | |||||
481 | i> write(6) -> 6: |
|
481 | i> write(6) -> 6: | |
482 | i> hello\n |
|
482 | i> hello\n | |
483 | o> readline() -> 4: |
|
483 | o> readline() -> 4: | |
484 |
o> |
|
484 | o> \d+\\n (re) | |
485 |
o> readline() -> |
|
485 | o> readline\(\) -> \d+: (re) | |
486 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
486 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
487 | i> write(98) -> 98: |
|
487 | i> write(98) -> 98: | |
488 | i> between\n |
|
488 | i> between\n | |
489 | i> pairs 81\n |
|
489 | i> pairs 81\n | |
@@ -526,9 +526,9 b' Send an unknown command having an argume' | |||||
526 | i> write(6) -> 6: |
|
526 | i> write(6) -> 6: | |
527 | i> hello\n |
|
527 | i> hello\n | |
528 | o> readline() -> 4: |
|
528 | o> readline() -> 4: | |
529 |
o> |
|
529 | o> \d+\\n (re) | |
530 |
o> readline() -> |
|
530 | o> readline\(\) -> \d+: (re) | |
531 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
531 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
532 | i> write(98) -> 98: |
|
532 | i> write(98) -> 98: | |
533 | i> between\n |
|
533 | i> between\n | |
534 | i> pairs 81\n |
|
534 | i> pairs 81\n | |
@@ -596,9 +596,9 b' Dictionary value for unknown command' | |||||
596 | i> write(6) -> 6: |
|
596 | i> write(6) -> 6: | |
597 | i> hello\n |
|
597 | i> hello\n | |
598 | o> readline() -> 4: |
|
598 | o> readline() -> 4: | |
599 |
o> |
|
599 | o> \d+\\n (re) | |
600 |
o> readline() -> |
|
600 | o> readline\(\) -> \d+: (re) | |
601 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
601 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
602 |
|
602 | |||
603 | Incomplete dictionary send |
|
603 | Incomplete dictionary send | |
604 |
|
604 | |||
@@ -678,9 +678,9 b' Send a command line with spaces' | |||||
678 | i> write(6) -> 6: |
|
678 | i> write(6) -> 6: | |
679 | i> hello\n |
|
679 | i> hello\n | |
680 | o> readline() -> 4: |
|
680 | o> readline() -> 4: | |
681 |
o> |
|
681 | o> \d+\\n (re) | |
682 |
o> readline() -> |
|
682 | o> readline\(\) -> \d+: (re) | |
683 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
683 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
684 | i> write(98) -> 98: |
|
684 | i> write(98) -> 98: | |
685 | i> between\n |
|
685 | i> between\n | |
686 | i> pairs 81\n |
|
686 | i> pairs 81\n | |
@@ -712,9 +712,9 b' Send a command line with spaces' | |||||
712 | i> write(6) -> 6: |
|
712 | i> write(6) -> 6: | |
713 | i> hello\n |
|
713 | i> hello\n | |
714 | o> readline() -> 4: |
|
714 | o> readline() -> 4: | |
715 |
o> |
|
715 | o> \d+\\n (re) | |
716 |
o> readline() -> |
|
716 | o> readline\(\) -> \d+: (re) | |
717 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
717 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
718 | i> write(98) -> 98: |
|
718 | i> write(98) -> 98: | |
719 | i> between\n |
|
719 | i> between\n | |
720 | i> pairs 81\n |
|
720 | i> pairs 81\n | |
@@ -755,9 +755,9 b' Send a command line with spaces' | |||||
755 | i> write(6) -> 6: |
|
755 | i> write(6) -> 6: | |
756 | i> hello\n |
|
756 | i> hello\n | |
757 | o> readline() -> 4: |
|
757 | o> readline() -> 4: | |
758 |
o> |
|
758 | o> \d+\\n (re) | |
759 |
o> readline() -> |
|
759 | o> readline\(\) -> \d+: (re) | |
760 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
760 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
761 | i> write(98) -> 98: |
|
761 | i> write(98) -> 98: | |
762 | i> between\n |
|
762 | i> between\n | |
763 | i> pairs 81\n |
|
763 | i> pairs 81\n | |
@@ -784,9 +784,9 b' Send an unknown command after the "betwe' | |||||
784 | i> write(6) -> 6: |
|
784 | i> write(6) -> 6: | |
785 | i> hello\n |
|
785 | i> hello\n | |
786 | o> readline() -> 4: |
|
786 | o> readline() -> 4: | |
787 |
o> |
|
787 | o> \d+\\n (re) | |
788 |
o> readline() -> |
|
788 | o> readline\(\) -> \d+: (re) | |
789 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
789 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
790 | i> write(105) -> 105: |
|
790 | i> write(105) -> 105: | |
791 | i> between\n |
|
791 | i> between\n | |
792 | i> pairs 81\n |
|
792 | i> pairs 81\n | |
@@ -825,9 +825,9 b' And one with arguments' | |||||
825 | i> pairs 81\n |
|
825 | i> pairs 81\n | |
826 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
826 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | |
827 | o> readline() -> 4: |
|
827 | o> readline() -> 4: | |
828 |
o> |
|
828 | o> \d+\\n (re) | |
829 |
o> readline() -> |
|
829 | o> readline\(\) -> \d+: (re) | |
830 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
830 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
831 | o> readline() -> 2: |
|
831 | o> readline() -> 2: | |
832 | o> 1\n |
|
832 | o> 1\n | |
833 | o> readline() -> 1: |
|
833 | o> readline() -> 1: | |
@@ -874,9 +874,9 b' Send a valid command before the handshak' | |||||
874 | o> readline() -> 41: |
|
874 | o> readline() -> 41: | |
875 | o> 68986213bd4485ea51533535e3fc9e78007a711f\n |
|
875 | o> 68986213bd4485ea51533535e3fc9e78007a711f\n | |
876 | o> readline() -> 4: |
|
876 | o> readline() -> 4: | |
877 |
o> |
|
877 | o> \d+\\n (re) | |
878 |
o> readline() -> |
|
878 | o> readline\(\) -> \d+: (re) | |
879 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
879 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
880 | o> readline() -> 2: |
|
880 | o> readline() -> 2: | |
881 | o> 1\n |
|
881 | o> 1\n | |
882 |
|
882 | |||
@@ -901,7 +901,7 b" And a variation that doesn't send the be" | |||||
901 | o> readline() -> 41: |
|
901 | o> readline() -> 41: | |
902 | o> 68986213bd4485ea51533535e3fc9e78007a711f\n |
|
902 | o> 68986213bd4485ea51533535e3fc9e78007a711f\n | |
903 | o> readline() -> 4: |
|
903 | o> readline() -> 4: | |
904 |
o> |
|
904 | o> \d+\\n (re) | |
905 |
|
905 | |||
906 | $ cd .. |
|
906 | $ cd .. | |
907 |
|
907 | |||
@@ -922,9 +922,9 b' Test listkeys for listing namespaces' | |||||
922 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
922 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | |
923 | i> flush() -> None |
|
923 | i> flush() -> None | |
924 | o> readline() -> 4: |
|
924 | o> readline() -> 4: | |
925 |
o> |
|
925 | o> \d+\\n (re) | |
926 |
o> readline() -> |
|
926 | o> readline\(\) -> \d+: (re) | |
927 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
927 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
928 | o> readline() -> 2: |
|
928 | o> readline() -> 2: | |
929 | o> 1\n |
|
929 | o> 1\n | |
930 | o> readline() -> 1: |
|
930 | o> readline() -> 1: | |
@@ -975,9 +975,9 b' With no bookmarks set' | |||||
975 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
975 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | |
976 | i> flush() -> None |
|
976 | i> flush() -> None | |
977 | o> readline() -> 4: |
|
977 | o> readline() -> 4: | |
978 |
o> |
|
978 | o> \d+\\n (re) | |
979 |
o> readline() -> |
|
979 | o> readline\(\) -> \d+: (re) | |
980 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
980 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
981 | o> readline() -> 2: |
|
981 | o> readline() -> 2: | |
982 | o> 1\n |
|
982 | o> 1\n | |
983 | o> readline() -> 1: |
|
983 | o> readline() -> 1: | |
@@ -1009,9 +1009,9 b' With a single bookmark set' | |||||
1009 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1009 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | |
1010 | i> flush() -> None |
|
1010 | i> flush() -> None | |
1011 | o> readline() -> 4: |
|
1011 | o> readline() -> 4: | |
1012 |
o> |
|
1012 | o> \d+\\n (re) | |
1013 |
o> readline() -> |
|
1013 | o> readline\(\) -> \d+: (re) | |
1014 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
1014 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
1015 | o> readline() -> 2: |
|
1015 | o> readline() -> 2: | |
1016 | o> 1\n |
|
1016 | o> 1\n | |
1017 | o> readline() -> 1: |
|
1017 | o> readline() -> 1: | |
@@ -1046,9 +1046,9 b' With multiple bookmarks set' | |||||
1046 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1046 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | |
1047 | i> flush() -> None |
|
1047 | i> flush() -> None | |
1048 | o> readline() -> 4: |
|
1048 | o> readline() -> 4: | |
1049 |
o> |
|
1049 | o> \d+\\n (re) | |
1050 |
o> readline() -> |
|
1050 | o> readline\(\) -> \d+: (re) | |
1051 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
1051 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
1052 | o> readline() -> 2: |
|
1052 | o> readline() -> 2: | |
1053 | o> 1\n |
|
1053 | o> 1\n | |
1054 | o> readline() -> 1: |
|
1054 | o> readline() -> 1: | |
@@ -1088,9 +1088,9 b' Test pushkey for bookmarks' | |||||
1088 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1088 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | |
1089 | i> flush() -> None |
|
1089 | i> flush() -> None | |
1090 | o> readline() -> 4: |
|
1090 | o> readline() -> 4: | |
1091 |
o> |
|
1091 | o> \d+\\n (re) | |
1092 |
o> readline() -> |
|
1092 | o> readline\(\) -> \d+: (re) | |
1093 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
1093 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
1094 | o> readline() -> 2: |
|
1094 | o> readline() -> 2: | |
1095 | o> 1\n |
|
1095 | o> 1\n | |
1096 | o> readline() -> 1: |
|
1096 | o> readline() -> 1: | |
@@ -1143,9 +1143,9 b' Phases on empty repo' | |||||
1143 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1143 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | |
1144 | i> flush() -> None |
|
1144 | i> flush() -> None | |
1145 | o> readline() -> 4: |
|
1145 | o> readline() -> 4: | |
1146 |
o> |
|
1146 | o> \d+\\n (re) | |
1147 |
o> readline() -> |
|
1147 | o> readline\(\) -> \d+: (re) | |
1148 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
1148 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
1149 | o> readline() -> 2: |
|
1149 | o> readline() -> 2: | |
1150 | o> 1\n |
|
1150 | o> 1\n | |
1151 | o> readline() -> 1: |
|
1151 | o> readline() -> 1: | |
@@ -1196,9 +1196,9 b' Two draft heads' | |||||
1196 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1196 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | |
1197 | i> flush() -> None |
|
1197 | i> flush() -> None | |
1198 | o> readline() -> 4: |
|
1198 | o> readline() -> 4: | |
1199 |
o> |
|
1199 | o> \d+\\n (re) | |
1200 |
o> readline() -> |
|
1200 | o> readline\(\) -> \d+: (re) | |
1201 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
1201 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
1202 | o> readline() -> 2: |
|
1202 | o> readline() -> 2: | |
1203 | o> 1\n |
|
1203 | o> 1\n | |
1204 | o> readline() -> 1: |
|
1204 | o> readline() -> 1: | |
@@ -1238,9 +1238,9 b' Single draft head' | |||||
1238 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1238 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | |
1239 | i> flush() -> None |
|
1239 | i> flush() -> None | |
1240 | o> readline() -> 4: |
|
1240 | o> readline() -> 4: | |
1241 |
o> |
|
1241 | o> \d+\\n (re) | |
1242 |
o> readline() -> |
|
1242 | o> readline\(\) -> \d+: (re) | |
1243 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
1243 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
1244 | o> readline() -> 2: |
|
1244 | o> readline() -> 2: | |
1245 | o> 1\n |
|
1245 | o> 1\n | |
1246 | o> readline() -> 1: |
|
1246 | o> readline() -> 1: | |
@@ -1278,9 +1278,9 b' All public heads' | |||||
1278 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1278 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | |
1279 | i> flush() -> None |
|
1279 | i> flush() -> None | |
1280 | o> readline() -> 4: |
|
1280 | o> readline() -> 4: | |
1281 |
o> |
|
1281 | o> \d+\\n (re) | |
1282 |
o> readline() -> |
|
1282 | o> readline\(\) -> \d+: (re) | |
1283 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
1283 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
1284 | o> readline() -> 2: |
|
1284 | o> readline() -> 2: | |
1285 | o> 1\n |
|
1285 | o> 1\n | |
1286 | o> readline() -> 1: |
|
1286 | o> readline() -> 1: | |
@@ -1319,9 +1319,9 b' Setting public phase via pushkey' | |||||
1319 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1319 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | |
1320 | i> flush() -> None |
|
1320 | i> flush() -> None | |
1321 | o> readline() -> 4: |
|
1321 | o> readline() -> 4: | |
1322 |
o> |
|
1322 | o> \d+\\n (re) | |
1323 |
o> readline() -> |
|
1323 | o> readline\(\) -> \d+: (re) | |
1324 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
1324 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
1325 | o> readline() -> 2: |
|
1325 | o> readline() -> 2: | |
1326 | o> 1\n |
|
1326 | o> 1\n | |
1327 | o> readline() -> 1: |
|
1327 | o> readline() -> 1: | |
@@ -1388,9 +1388,9 b' Test batching of requests' | |||||
1388 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
|
1388 | i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | |
1389 | i> flush() -> None |
|
1389 | i> flush() -> None | |
1390 | o> readline() -> 4: |
|
1390 | o> readline() -> 4: | |
1391 |
o> |
|
1391 | o> \d+\\n (re) | |
1392 |
o> readline() -> |
|
1392 | o> readline\(\) -> \d+: (re) | |
1393 |
o> capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs= |
|
1393 | o> capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash\\n (re) | |
1394 | o> readline() -> 2: |
|
1394 | o> readline() -> 2: | |
1395 | o> 1\n |
|
1395 | o> 1\n | |
1396 | o> readline() -> 1: |
|
1396 | o> readline() -> 1: |
@@ -531,10 +531,8 b' debug output' | |||||
531 | devel-peer-request: pairs: 81 bytes |
|
531 | devel-peer-request: pairs: 81 bytes | |
532 | sending hello command |
|
532 | sending hello command | |
533 | sending between command |
|
533 | sending between command | |
534 |
remote: |
|
534 | remote: \d+ (re) | |
535 | remote: 463 (rust !) |
|
535 | remote: capabilities: batch branchmap \$USUAL_BUNDLE2_CAPS\$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=[^ ,]+(,[^ ,]+)* unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (re) | |
536 | remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (no-rust !) |
|
|||
537 | remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,persistent-nodemap,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (rust !) |
|
|||
538 | remote: 1 |
|
536 | remote: 1 | |
539 | devel-peer-request: protocaps |
|
537 | devel-peer-request: protocaps | |
540 | devel-peer-request: caps: * bytes (glob) |
|
538 | devel-peer-request: caps: * bytes (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now