Mercurial > hg
comparison tests/test-ssh-proto.t @ 36968:2090044a288d
revbranchcache: advertise and use 'rbc' exchange capability
The feature is now advertised and use.
Updating the branchmap cache can be very expensive (up to minutes on large
repository) and fetching revision branch data is about 80% of that. Exchanging
the rev branch cache over the wire really help to recover from branch map
invalidation.
(There is a good chance other in flight chance would conflict on
test-http-bad-server.t and other. So here is a small note to help update that
test again: capabilities=19bytes, part-107bytes)
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 18 Jan 2018 15:10:22 +0100 |
parents | 31581528f242 |
children | cd0ca979a8b8 |
comparison
equal
deleted
inserted
replaced
36967:f62873dba3fd | 36968:2090044a288d |
---|---|
61 devel-peer-request: hello | 61 devel-peer-request: hello |
62 sending hello command | 62 sending hello command |
63 devel-peer-request: between | 63 devel-peer-request: between |
64 devel-peer-request: pairs: 81 bytes | 64 devel-peer-request: pairs: 81 bytes |
65 sending between command | 65 sending between command |
66 remote: 384 | 66 remote: 403 |
67 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 67 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
68 remote: 1 | 68 remote: 1 |
69 url: ssh://user@dummy/server | 69 url: ssh://user@dummy/server |
70 local: no | 70 local: no |
71 pushable: yes | 71 pushable: yes |
80 > EOF | 80 > EOF |
81 using raw connection to peer | 81 using raw connection to peer |
82 i> write(6) -> 6: | 82 i> write(6) -> 6: |
83 i> hello\n | 83 i> hello\n |
84 o> readline() -> 4: | 84 o> readline() -> 4: |
85 o> 384\n | 85 o> 403\n |
86 o> readline() -> 384: | 86 o> readline() -> 403: |
87 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 87 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
88 | 88 |
89 `hg debugserve --sshstdio` works | 89 `hg debugserve --sshstdio` works |
90 | 90 |
91 $ cd server | 91 $ cd server |
92 $ hg debugserve --sshstdio << EOF | 92 $ hg debugserve --sshstdio << EOF |
93 > hello | 93 > hello |
94 > EOF | 94 > EOF |
95 384 | 95 403 |
96 capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 96 capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
97 | 97 |
98 I/O logging works | 98 I/O logging works |
99 | 99 |
100 $ hg debugserve --sshstdio --logiofd 1 << EOF | 100 $ hg debugserve --sshstdio --logiofd 1 << EOF |
101 > hello | 101 > hello |
102 > EOF | 102 > EOF |
103 o> write(4) -> 4: | 103 o> write(4) -> 4: |
104 o> 384\n | 104 o> 403\n |
105 o> write(384) -> 384: | 105 o> write(403) -> 403: |
106 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 106 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
107 384 | 107 403 |
108 capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 108 capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
109 o> flush() -> None | 109 o> flush() -> None |
110 | 110 |
111 $ hg debugserve --sshstdio --logiofile $TESTTMP/io << EOF | 111 $ hg debugserve --sshstdio --logiofile $TESTTMP/io << EOF |
112 > hello | 112 > hello |
113 > EOF | 113 > EOF |
114 384 | 114 403 |
115 capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 115 capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
116 | 116 |
117 $ cat $TESTTMP/io | 117 $ cat $TESTTMP/io |
118 o> write(4) -> 4: | 118 o> write(4) -> 4: |
119 o> 384\n | 119 o> 403\n |
120 o> write(384) -> 384: | 120 o> write(403) -> 403: |
121 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 121 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
122 o> flush() -> None | 122 o> flush() -> None |
123 | 123 |
124 $ cd .. | 124 $ cd .. |
125 | 125 |
141 > EOF | 141 > EOF |
142 using raw connection to peer | 142 using raw connection to peer |
143 i> write(6) -> 6: | 143 i> write(6) -> 6: |
144 i> hello\n | 144 i> hello\n |
145 o> readline() -> 4: | 145 o> readline() -> 4: |
146 o> 384\n | 146 o> 403\n |
147 o> readline() -> 384: | 147 o> readline() -> 403: |
148 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 148 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
149 i> write(98) -> 98: | 149 i> write(98) -> 98: |
150 i> between\n | 150 i> between\n |
151 i> pairs 81\n | 151 i> pairs 81\n |
152 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 152 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
180 remote: banner: line 5 | 180 remote: banner: line 5 |
181 remote: banner: line 6 | 181 remote: banner: line 6 |
182 remote: banner: line 7 | 182 remote: banner: line 7 |
183 remote: banner: line 8 | 183 remote: banner: line 8 |
184 remote: banner: line 9 | 184 remote: banner: line 9 |
185 remote: 384 | 185 remote: 403 |
186 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 186 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
187 remote: 1 | 187 remote: 1 |
188 url: ssh://user@dummy/server | 188 url: ssh://user@dummy/server |
189 local: no | 189 local: no |
190 pushable: yes | 190 pushable: yes |
235 o> readline() -> 15: | 235 o> readline() -> 15: |
236 o> banner: line 8\n | 236 o> banner: line 8\n |
237 o> readline() -> 15: | 237 o> readline() -> 15: |
238 o> banner: line 9\n | 238 o> banner: line 9\n |
239 o> readline() -> 4: | 239 o> readline() -> 4: |
240 o> 384\n | 240 o> 403\n |
241 o> readline() -> 384: | 241 o> readline() -> 403: |
242 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 242 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
243 i> write(98) -> 98: | 243 i> write(98) -> 98: |
244 i> between\n | 244 i> between\n |
245 i> pairs 81\n | 245 i> pairs 81\n |
246 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 246 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
288 o> readline() -> 2: | 288 o> readline() -> 2: |
289 o> 0\n | 289 o> 0\n |
290 i> write(6) -> 6: | 290 i> write(6) -> 6: |
291 i> hello\n | 291 i> hello\n |
292 o> readline() -> 4: | 292 o> readline() -> 4: |
293 o> 384\n | 293 o> 403\n |
294 i> write(98) -> 98: | 294 i> write(98) -> 98: |
295 i> between\n | 295 i> between\n |
296 i> pairs 81\n | 296 i> pairs 81\n |
297 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 297 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
298 o> readline() -> 384: | 298 o> readline() -> 403: |
299 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 299 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
300 o> readline() -> 2: | 300 o> readline() -> 2: |
301 o> 1\n | 301 o> 1\n |
302 | 302 |
303 $ hg --config sshpeer.mode=extra-handshake-commands --config sshpeer.handshake-mode=pre-no-args --debug debugpeer ssh://user@dummy/server | 303 $ hg --config sshpeer.mode=extra-handshake-commands --config sshpeer.handshake-mode=pre-no-args --debug debugpeer ssh://user@dummy/server |
308 sending hello command | 308 sending hello command |
309 devel-peer-request: between | 309 devel-peer-request: between |
310 devel-peer-request: pairs: 81 bytes | 310 devel-peer-request: pairs: 81 bytes |
311 sending between command | 311 sending between command |
312 remote: 0 | 312 remote: 0 |
313 remote: 384 | 313 remote: 403 |
314 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 314 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
315 remote: 1 | 315 remote: 1 |
316 url: ssh://user@dummy/server | 316 url: ssh://user@dummy/server |
317 local: no | 317 local: no |
318 pushable: yes | 318 pushable: yes |
354 o> readline() -> 2: | 354 o> readline() -> 2: |
355 o> 0\n | 355 o> 0\n |
356 i> write(6) -> 6: | 356 i> write(6) -> 6: |
357 i> hello\n | 357 i> hello\n |
358 o> readline() -> 4: | 358 o> readline() -> 4: |
359 o> 384\n | 359 o> 403\n |
360 o> readline() -> 384: | 360 o> readline() -> 403: |
361 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 361 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
362 i> write(98) -> 98: | 362 i> write(98) -> 98: |
363 i> between\n | 363 i> between\n |
364 i> pairs 81\n | 364 i> pairs 81\n |
365 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 365 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
380 devel-peer-request: pairs: 81 bytes | 380 devel-peer-request: pairs: 81 bytes |
381 sending between command | 381 sending between command |
382 remote: 0 | 382 remote: 0 |
383 remote: 0 | 383 remote: 0 |
384 remote: 0 | 384 remote: 0 |
385 remote: 384 | 385 remote: 403 |
386 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 386 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
387 remote: 1 | 387 remote: 1 |
388 url: ssh://user@dummy/server | 388 url: ssh://user@dummy/server |
389 local: no | 389 local: no |
390 pushable: yes | 390 pushable: yes |
434 o> readline() -> 2: | 434 o> readline() -> 2: |
435 o> 0\n | 435 o> 0\n |
436 i> write(6) -> 6: | 436 i> write(6) -> 6: |
437 i> hello\n | 437 i> hello\n |
438 o> readline() -> 4: | 438 o> readline() -> 4: |
439 o> 384\n | 439 o> 403\n |
440 o> readline() -> 384: | 440 o> readline() -> 403: |
441 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 441 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
442 i> write(98) -> 98: | 442 i> write(98) -> 98: |
443 i> between\n | 443 i> between\n |
444 i> pairs 81\n | 444 i> pairs 81\n |
445 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 445 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
481 o> readline() -> 2: | 481 o> readline() -> 2: |
482 o> 0\n | 482 o> 0\n |
483 i> write(6) -> 6: | 483 i> write(6) -> 6: |
484 i> hello\n | 484 i> hello\n |
485 o> readline() -> 4: | 485 o> readline() -> 4: |
486 o> 384\n | 486 o> 403\n |
487 o> readline() -> 384: | 487 o> readline() -> 403: |
488 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 488 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
489 i> write(98) -> 98: | 489 i> write(98) -> 98: |
490 i> between\n | 490 i> between\n |
491 i> pairs 81\n | 491 i> pairs 81\n |
492 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 492 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
526 o> readline() -> 2: | 526 o> readline() -> 2: |
527 o> 0\n | 527 o> 0\n |
528 i> write(6) -> 6: | 528 i> write(6) -> 6: |
529 i> hello\n | 529 i> hello\n |
530 o> readline() -> 4: | 530 o> readline() -> 4: |
531 o> 384\n | 531 o> 403\n |
532 o> readline() -> 384: | 532 o> readline() -> 403: |
533 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 533 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
534 i> write(98) -> 98: | 534 i> write(98) -> 98: |
535 i> between\n | 535 i> between\n |
536 i> pairs 81\n | 536 i> pairs 81\n |
537 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 537 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
596 o> readline() -> 2: | 596 o> readline() -> 2: |
597 o> 0\n | 597 o> 0\n |
598 i> write(6) -> 6: | 598 i> write(6) -> 6: |
599 i> hello\n | 599 i> hello\n |
600 o> readline() -> 4: | 600 o> readline() -> 4: |
601 o> 384\n | 601 o> 403\n |
602 o> readline() -> 384: | 602 o> readline() -> 403: |
603 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 603 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
604 | 604 |
605 Incomplete dictionary send | 605 Incomplete dictionary send |
606 | 606 |
607 $ hg debugwireproto --localssh --peer raw << EOF | 607 $ hg debugwireproto --localssh --peer raw << EOF |
678 o> readline() -> 2: | 678 o> readline() -> 2: |
679 o> 0\n | 679 o> 0\n |
680 i> write(6) -> 6: | 680 i> write(6) -> 6: |
681 i> hello\n | 681 i> hello\n |
682 o> readline() -> 4: | 682 o> readline() -> 4: |
683 o> 384\n | 683 o> 403\n |
684 o> readline() -> 384: | 684 o> readline() -> 403: |
685 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 685 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
686 i> write(98) -> 98: | 686 i> write(98) -> 98: |
687 i> between\n | 687 i> between\n |
688 i> pairs 81\n | 688 i> pairs 81\n |
689 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 689 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
712 o> readline() -> 2: | 712 o> readline() -> 2: |
713 o> 0\n | 713 o> 0\n |
714 i> write(6) -> 6: | 714 i> write(6) -> 6: |
715 i> hello\n | 715 i> hello\n |
716 o> readline() -> 4: | 716 o> readline() -> 4: |
717 o> 384\n | 717 o> 403\n |
718 o> readline() -> 384: | 718 o> readline() -> 403: |
719 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 719 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
720 i> write(98) -> 98: | 720 i> write(98) -> 98: |
721 i> between\n | 721 i> between\n |
722 i> pairs 81\n | 722 i> pairs 81\n |
723 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 723 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
755 o> readline() -> 2: | 755 o> readline() -> 2: |
756 o> 0\n | 756 o> 0\n |
757 i> write(6) -> 6: | 757 i> write(6) -> 6: |
758 i> hello\n | 758 i> hello\n |
759 o> readline() -> 4: | 759 o> readline() -> 4: |
760 o> 384\n | 760 o> 403\n |
761 o> readline() -> 384: | 761 o> readline() -> 403: |
762 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 762 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
763 i> write(98) -> 98: | 763 i> write(98) -> 98: |
764 i> between\n | 764 i> between\n |
765 i> pairs 81\n | 765 i> pairs 81\n |
766 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 766 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
767 o> readline() -> 2: | 767 o> readline() -> 2: |
768 o> 1\n | 768 o> 1\n |
769 o> readline() -> 1: | 769 o> readline() -> 1: |
770 o> \n | 770 o> \n |
771 | |
772 Send an unknown command after the "between" | 771 Send an unknown command after the "between" |
773 | 772 |
774 $ hg debugwireproto --localssh --peer raw << EOF | 773 $ hg debugwireproto --localssh --peer raw << EOF |
775 > raw | 774 > raw |
776 > hello\n | 775 > hello\n |
785 > EOF | 784 > EOF |
786 using raw connection to peer | 785 using raw connection to peer |
787 i> write(6) -> 6: | 786 i> write(6) -> 6: |
788 i> hello\n | 787 i> hello\n |
789 o> readline() -> 4: | 788 o> readline() -> 4: |
790 o> 384\n | 789 o> 403\n |
791 o> readline() -> 384: | 790 o> readline() -> 403: |
792 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 791 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
793 i> write(105) -> 105: | 792 i> write(105) -> 105: |
794 i> between\n | 793 i> between\n |
795 i> pairs 81\n | 794 i> pairs 81\n |
796 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000unknown | 795 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000unknown |
826 i> hello\n | 825 i> hello\n |
827 i> between\n | 826 i> between\n |
828 i> pairs 81\n | 827 i> pairs 81\n |
829 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 828 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
830 o> readline() -> 4: | 829 o> readline() -> 4: |
831 o> 384\n | 830 o> 403\n |
832 o> readline() -> 384: | 831 o> readline() -> 403: |
833 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 832 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
834 o> readline() -> 2: | 833 o> readline() -> 2: |
835 o> 1\n | 834 o> 1\n |
836 o> readline() -> 1: | 835 o> readline() -> 1: |
837 o> \n | 836 o> \n |
875 i> pairs 81\n | 874 i> pairs 81\n |
876 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 875 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
877 o> readline() -> 41: | 876 o> readline() -> 41: |
878 o> 68986213bd4485ea51533535e3fc9e78007a711f\n | 877 o> 68986213bd4485ea51533535e3fc9e78007a711f\n |
879 o> readline() -> 4: | 878 o> readline() -> 4: |
880 o> 384\n | 879 o> 403\n |
881 o> readline() -> 384: | 880 o> readline() -> 403: |
882 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 881 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
883 o> readline() -> 2: | 882 o> readline() -> 2: |
884 o> 1\n | 883 o> 1\n |
885 | 884 |
886 And a variation that doesn't send the between command | 885 And a variation that doesn't send the between command |
902 i> write(6) -> 6: | 901 i> write(6) -> 6: |
903 i> hello\n | 902 i> hello\n |
904 o> readline() -> 41: | 903 o> readline() -> 41: |
905 o> 68986213bd4485ea51533535e3fc9e78007a711f\n | 904 o> 68986213bd4485ea51533535e3fc9e78007a711f\n |
906 o> readline() -> 4: | 905 o> readline() -> 4: |
907 o> 384\n | 906 o> 403\n |
908 | 907 |
909 Send an upgrade request to a server that doesn't support that command | 908 Send an upgrade request to a server that doesn't support that command |
910 | 909 |
911 $ hg debugwireproto --localssh --peer raw << EOF | 910 $ hg debugwireproto --localssh --peer raw << EOF |
912 > raw | 911 > raw |
931 i> hello\n | 930 i> hello\n |
932 i> between\n | 931 i> between\n |
933 i> pairs 81\n | 932 i> pairs 81\n |
934 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 933 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
935 o> readline() -> 4: | 934 o> readline() -> 4: |
936 o> 384\n | 935 o> 403\n |
937 o> readline() -> 384: | 936 o> readline() -> 403: |
938 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 937 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
939 o> readline() -> 2: | 938 o> readline() -> 2: |
940 o> 1\n | 939 o> 1\n |
941 o> readline() -> 1: | 940 o> readline() -> 1: |
942 o> \n | 941 o> \n |
951 sending hello command | 950 sending hello command |
952 devel-peer-request: between | 951 devel-peer-request: between |
953 devel-peer-request: pairs: 81 bytes | 952 devel-peer-request: pairs: 81 bytes |
954 sending between command | 953 sending between command |
955 remote: 0 | 954 remote: 0 |
956 remote: 384 | 955 remote: 403 |
957 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 956 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
958 remote: 1 | 957 remote: 1 |
959 url: ssh://user@dummy/server | 958 url: ssh://user@dummy/server |
960 local: no | 959 local: no |
961 pushable: yes | 960 pushable: yes |
991 i> pairs 81\n | 990 i> pairs 81\n |
992 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 991 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
993 o> readline() -> 44: | 992 o> readline() -> 44: |
994 o> upgraded this-is-some-token exp-ssh-v2-0001\n | 993 o> upgraded this-is-some-token exp-ssh-v2-0001\n |
995 o> readline() -> 4: | 994 o> readline() -> 4: |
996 o> 383\n | 995 o> 402\n |
997 o> readline() -> 384: | 996 o> readline() -> 403: |
998 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 997 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
999 | 998 |
1000 $ cd .. | 999 $ cd .. |
1001 | 1000 |
1002 $ hg --config experimental.sshpeer.advertise-v2=true --debug debugpeer ssh://user@dummy/server | 1001 $ hg --config experimental.sshpeer.advertise-v2=true --debug debugpeer ssh://user@dummy/server |
1060 heads | 1059 heads |
1061 pushkey | 1060 pushkey |
1062 remote-changegroup | 1061 remote-changegroup |
1063 http | 1062 http |
1064 https | 1063 https |
1064 rev-branch-cache | |
1065 | 1065 |
1066 Command after upgrade to version 2 is processed | 1066 Command after upgrade to version 2 is processed |
1067 | 1067 |
1068 $ cd server | 1068 $ cd server |
1069 | 1069 |
1090 i> pairs 81\n | 1090 i> pairs 81\n |
1091 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1091 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1092 o> readline() -> 44: | 1092 o> readline() -> 44: |
1093 o> upgraded this-is-some-token exp-ssh-v2-0001\n | 1093 o> upgraded this-is-some-token exp-ssh-v2-0001\n |
1094 o> readline() -> 4: | 1094 o> readline() -> 4: |
1095 o> 383\n | 1095 o> 402\n |
1096 o> readline() -> 384: | 1096 o> readline() -> 403: |
1097 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 1097 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
1098 i> write(6) -> 6: | 1098 i> write(6) -> 6: |
1099 i> hello\n | 1099 i> hello\n |
1100 o> readline() -> 4: | 1100 o> readline() -> 4: |
1101 o> 366\n | 1101 o> 385\n |
1102 o> readline() -> 366: | 1102 o> readline() -> 385: |
1103 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 1103 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
1104 | 1104 |
1105 Multiple upgrades is not allowed | 1105 Multiple upgrades is not allowed |
1106 | 1106 |
1107 $ hg debugwireproto --localssh --peer raw << EOF | 1107 $ hg debugwireproto --localssh --peer raw << EOF |
1128 i> pairs 81\n | 1128 i> pairs 81\n |
1129 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1129 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1130 o> readline() -> 44: | 1130 o> readline() -> 44: |
1131 o> upgraded this-is-some-token exp-ssh-v2-0001\n | 1131 o> upgraded this-is-some-token exp-ssh-v2-0001\n |
1132 o> readline() -> 4: | 1132 o> readline() -> 4: |
1133 o> 383\n | 1133 o> 402\n |
1134 o> readline() -> 384: | 1134 o> readline() -> 403: |
1135 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 1135 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
1136 i> write(45) -> 45: | 1136 i> write(45) -> 45: |
1137 i> upgrade another-token proto=irrelevant\n | 1137 i> upgrade another-token proto=irrelevant\n |
1138 i> hello\n | 1138 i> hello\n |
1139 o> readline() -> 1: | 1139 o> readline() -> 1: |
1201 o> readline() -> 2: | 1201 o> readline() -> 2: |
1202 o> 0\n | 1202 o> 0\n |
1203 i> write(6) -> 6: | 1203 i> write(6) -> 6: |
1204 i> hello\n | 1204 i> hello\n |
1205 o> readline() -> 4: | 1205 o> readline() -> 4: |
1206 o> 384\n | 1206 o> 403\n |
1207 o> readline() -> 384: | 1207 o> readline() -> 403: |
1208 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 1208 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
1209 i> write(98) -> 98: | 1209 i> write(98) -> 98: |
1210 i> between\n | 1210 i> between\n |
1211 i> pairs 81\n | 1211 i> pairs 81\n |
1212 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1212 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1321 i> between\n | 1321 i> between\n |
1322 i> pairs 81\n | 1322 i> pairs 81\n |
1323 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1323 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1324 i> flush() -> None | 1324 i> flush() -> None |
1325 o> readline() -> 4: | 1325 o> readline() -> 4: |
1326 o> 384\n | 1326 o> 403\n |
1327 o> readline() -> 384: | 1327 o> readline() -> 403: |
1328 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 1328 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
1329 o> readline() -> 2: | 1329 o> readline() -> 2: |
1330 o> 1\n | 1330 o> 1\n |
1331 o> readline() -> 1: | 1331 o> readline() -> 1: |
1332 o> \n | 1332 o> \n |
1355 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1355 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1356 i> flush() -> None | 1356 i> flush() -> None |
1357 o> readline() -> 62: | 1357 o> readline() -> 62: |
1358 o> upgraded * exp-ssh-v2-0001\n (glob) | 1358 o> upgraded * exp-ssh-v2-0001\n (glob) |
1359 o> readline() -> 4: | 1359 o> readline() -> 4: |
1360 o> 383\n | 1360 o> 402\n |
1361 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 1361 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
1362 o> read(1) -> 1: | 1362 o> read(1) -> 1: |
1363 o> \n | 1363 o> \n |
1364 sending listkeys command | 1364 sending listkeys command |
1365 i> write(9) -> 9: | 1365 i> write(9) -> 9: |
1366 i> listkeys\n | 1366 i> listkeys\n |
1401 i> between\n | 1401 i> between\n |
1402 i> pairs 81\n | 1402 i> pairs 81\n |
1403 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1403 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1404 i> flush() -> None | 1404 i> flush() -> None |
1405 o> readline() -> 4: | 1405 o> readline() -> 4: |
1406 o> 384\n | 1406 o> 403\n |
1407 o> readline() -> 384: | 1407 o> readline() -> 403: |
1408 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 1408 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
1409 o> readline() -> 2: | 1409 o> readline() -> 2: |
1410 o> 1\n | 1410 o> 1\n |
1411 o> readline() -> 1: | 1411 o> readline() -> 1: |
1412 o> \n | 1412 o> \n |
1431 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1431 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1432 i> flush() -> None | 1432 i> flush() -> None |
1433 o> readline() -> 62: | 1433 o> readline() -> 62: |
1434 o> upgraded * exp-ssh-v2-0001\n (glob) | 1434 o> upgraded * exp-ssh-v2-0001\n (glob) |
1435 o> readline() -> 4: | 1435 o> readline() -> 4: |
1436 o> 383\n | 1436 o> 402\n |
1437 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 1437 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
1438 o> read(1) -> 1: | 1438 o> read(1) -> 1: |
1439 o> \n | 1439 o> \n |
1440 sending listkeys command | 1440 sending listkeys command |
1441 i> write(9) -> 9: | 1441 i> write(9) -> 9: |
1442 i> listkeys\n | 1442 i> listkeys\n |
1462 i> between\n | 1462 i> between\n |
1463 i> pairs 81\n | 1463 i> pairs 81\n |
1464 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1464 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1465 i> flush() -> None | 1465 i> flush() -> None |
1466 o> readline() -> 4: | 1466 o> readline() -> 4: |
1467 o> 384\n | 1467 o> 403\n |
1468 o> readline() -> 384: | 1468 o> readline() -> 403: |
1469 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 1469 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
1470 o> readline() -> 2: | 1470 o> readline() -> 2: |
1471 o> 1\n | 1471 o> 1\n |
1472 o> readline() -> 1: | 1472 o> readline() -> 1: |
1473 o> \n | 1473 o> \n |
1493 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1493 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1494 i> flush() -> None | 1494 i> flush() -> None |
1495 o> readline() -> 62: | 1495 o> readline() -> 62: |
1496 o> upgraded * exp-ssh-v2-0001\n (glob) | 1496 o> upgraded * exp-ssh-v2-0001\n (glob) |
1497 o> readline() -> 4: | 1497 o> readline() -> 4: |
1498 o> 383\n | 1498 o> 402\n |
1499 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 1499 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
1500 o> read(1) -> 1: | 1500 o> read(1) -> 1: |
1501 o> \n | 1501 o> \n |
1502 sending listkeys command | 1502 sending listkeys command |
1503 i> write(9) -> 9: | 1503 i> write(9) -> 9: |
1504 i> listkeys\n | 1504 i> listkeys\n |
1525 i> between\n | 1525 i> between\n |
1526 i> pairs 81\n | 1526 i> pairs 81\n |
1527 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1527 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1528 i> flush() -> None | 1528 i> flush() -> None |
1529 o> readline() -> 4: | 1529 o> readline() -> 4: |
1530 o> 384\n | 1530 o> 403\n |
1531 o> readline() -> 384: | 1531 o> readline() -> 403: |
1532 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 1532 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
1533 o> readline() -> 2: | 1533 o> readline() -> 2: |
1534 o> 1\n | 1534 o> 1\n |
1535 o> readline() -> 1: | 1535 o> readline() -> 1: |
1536 o> \n | 1536 o> \n |
1558 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1558 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1559 i> flush() -> None | 1559 i> flush() -> None |
1560 o> readline() -> 62: | 1560 o> readline() -> 62: |
1561 o> upgraded * exp-ssh-v2-0001\n (glob) | 1561 o> upgraded * exp-ssh-v2-0001\n (glob) |
1562 o> readline() -> 4: | 1562 o> readline() -> 4: |
1563 o> 383\n | 1563 o> 402\n |
1564 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 1564 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
1565 o> read(1) -> 1: | 1565 o> read(1) -> 1: |
1566 o> \n | 1566 o> \n |
1567 sending listkeys command | 1567 sending listkeys command |
1568 i> write(9) -> 9: | 1568 i> write(9) -> 9: |
1569 i> listkeys\n | 1569 i> listkeys\n |
1594 i> between\n | 1594 i> between\n |
1595 i> pairs 81\n | 1595 i> pairs 81\n |
1596 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1596 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1597 i> flush() -> None | 1597 i> flush() -> None |
1598 o> readline() -> 4: | 1598 o> readline() -> 4: |
1599 o> 384\n | 1599 o> 403\n |
1600 o> readline() -> 384: | 1600 o> readline() -> 403: |
1601 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 1601 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
1602 o> readline() -> 2: | 1602 o> readline() -> 2: |
1603 o> 1\n | 1603 o> 1\n |
1604 o> readline() -> 1: | 1604 o> readline() -> 1: |
1605 o> \n | 1605 o> \n |
1634 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1634 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1635 i> flush() -> None | 1635 i> flush() -> None |
1636 o> readline() -> 62: | 1636 o> readline() -> 62: |
1637 o> upgraded * exp-ssh-v2-0001\n (glob) | 1637 o> upgraded * exp-ssh-v2-0001\n (glob) |
1638 o> readline() -> 4: | 1638 o> readline() -> 4: |
1639 o> 383\n | 1639 o> 402\n |
1640 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 1640 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
1641 o> read(1) -> 1: | 1641 o> read(1) -> 1: |
1642 o> \n | 1642 o> \n |
1643 sending pushkey command | 1643 sending pushkey command |
1644 i> write(8) -> 8: | 1644 i> write(8) -> 8: |
1645 i> pushkey\n | 1645 i> pushkey\n |
1686 i> between\n | 1686 i> between\n |
1687 i> pairs 81\n | 1687 i> pairs 81\n |
1688 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1688 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1689 i> flush() -> None | 1689 i> flush() -> None |
1690 o> readline() -> 4: | 1690 o> readline() -> 4: |
1691 o> 384\n | 1691 o> 403\n |
1692 o> readline() -> 384: | 1692 o> readline() -> 403: |
1693 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 1693 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
1694 o> readline() -> 2: | 1694 o> readline() -> 2: |
1695 o> 1\n | 1695 o> 1\n |
1696 o> readline() -> 1: | 1696 o> readline() -> 1: |
1697 o> \n | 1697 o> \n |
1717 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1717 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1718 i> flush() -> None | 1718 i> flush() -> None |
1719 o> readline() -> 62: | 1719 o> readline() -> 62: |
1720 o> upgraded * exp-ssh-v2-0001\n (glob) | 1720 o> upgraded * exp-ssh-v2-0001\n (glob) |
1721 o> readline() -> 4: | 1721 o> readline() -> 4: |
1722 o> 383\n | 1722 o> 402\n |
1723 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 1723 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
1724 o> read(1) -> 1: | 1724 o> read(1) -> 1: |
1725 o> \n | 1725 o> \n |
1726 sending listkeys command | 1726 sending listkeys command |
1727 i> write(9) -> 9: | 1727 i> write(9) -> 9: |
1728 i> listkeys\n | 1728 i> listkeys\n |
1765 i> between\n | 1765 i> between\n |
1766 i> pairs 81\n | 1766 i> pairs 81\n |
1767 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1767 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1768 i> flush() -> None | 1768 i> flush() -> None |
1769 o> readline() -> 4: | 1769 o> readline() -> 4: |
1770 o> 384\n | 1770 o> 403\n |
1771 o> readline() -> 384: | 1771 o> readline() -> 403: |
1772 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 1772 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
1773 o> readline() -> 2: | 1773 o> readline() -> 2: |
1774 o> 1\n | 1774 o> 1\n |
1775 o> readline() -> 1: | 1775 o> readline() -> 1: |
1776 o> \n | 1776 o> \n |
1799 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1799 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1800 i> flush() -> None | 1800 i> flush() -> None |
1801 o> readline() -> 62: | 1801 o> readline() -> 62: |
1802 o> upgraded * exp-ssh-v2-0001\n (glob) | 1802 o> upgraded * exp-ssh-v2-0001\n (glob) |
1803 o> readline() -> 4: | 1803 o> readline() -> 4: |
1804 o> 383\n | 1804 o> 402\n |
1805 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 1805 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
1806 o> read(1) -> 1: | 1806 o> read(1) -> 1: |
1807 o> \n | 1807 o> \n |
1808 sending listkeys command | 1808 sending listkeys command |
1809 i> write(9) -> 9: | 1809 i> write(9) -> 9: |
1810 i> listkeys\n | 1810 i> listkeys\n |
1834 i> between\n | 1834 i> between\n |
1835 i> pairs 81\n | 1835 i> pairs 81\n |
1836 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1836 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1837 i> flush() -> None | 1837 i> flush() -> None |
1838 o> readline() -> 4: | 1838 o> readline() -> 4: |
1839 o> 384\n | 1839 o> 403\n |
1840 o> readline() -> 384: | 1840 o> readline() -> 403: |
1841 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 1841 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
1842 o> readline() -> 2: | 1842 o> readline() -> 2: |
1843 o> 1\n | 1843 o> 1\n |
1844 o> readline() -> 1: | 1844 o> readline() -> 1: |
1845 o> \n | 1845 o> \n |
1867 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1867 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1868 i> flush() -> None | 1868 i> flush() -> None |
1869 o> readline() -> 62: | 1869 o> readline() -> 62: |
1870 o> upgraded * exp-ssh-v2-0001\n (glob) | 1870 o> upgraded * exp-ssh-v2-0001\n (glob) |
1871 o> readline() -> 4: | 1871 o> readline() -> 4: |
1872 o> 383\n | 1872 o> 402\n |
1873 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 1873 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
1874 o> read(1) -> 1: | 1874 o> read(1) -> 1: |
1875 o> \n | 1875 o> \n |
1876 sending listkeys command | 1876 sending listkeys command |
1877 i> write(9) -> 9: | 1877 i> write(9) -> 9: |
1878 i> listkeys\n | 1878 i> listkeys\n |
1901 i> between\n | 1901 i> between\n |
1902 i> pairs 81\n | 1902 i> pairs 81\n |
1903 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1903 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1904 i> flush() -> None | 1904 i> flush() -> None |
1905 o> readline() -> 4: | 1905 o> readline() -> 4: |
1906 o> 384\n | 1906 o> 403\n |
1907 o> readline() -> 384: | 1907 o> readline() -> 403: |
1908 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 1908 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
1909 o> readline() -> 2: | 1909 o> readline() -> 2: |
1910 o> 1\n | 1910 o> 1\n |
1911 o> readline() -> 1: | 1911 o> readline() -> 1: |
1912 o> \n | 1912 o> \n |
1932 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1932 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1933 i> flush() -> None | 1933 i> flush() -> None |
1934 o> readline() -> 62: | 1934 o> readline() -> 62: |
1935 o> upgraded * exp-ssh-v2-0001\n (glob) | 1935 o> upgraded * exp-ssh-v2-0001\n (glob) |
1936 o> readline() -> 4: | 1936 o> readline() -> 4: |
1937 o> 383\n | 1937 o> 402\n |
1938 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 1938 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
1939 o> read(1) -> 1: | 1939 o> read(1) -> 1: |
1940 o> \n | 1940 o> \n |
1941 sending listkeys command | 1941 sending listkeys command |
1942 i> write(9) -> 9: | 1942 i> write(9) -> 9: |
1943 i> listkeys\n | 1943 i> listkeys\n |
1968 i> between\n | 1968 i> between\n |
1969 i> pairs 81\n | 1969 i> pairs 81\n |
1970 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 1970 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
1971 i> flush() -> None | 1971 i> flush() -> None |
1972 o> readline() -> 4: | 1972 o> readline() -> 4: |
1973 o> 384\n | 1973 o> 403\n |
1974 o> readline() -> 384: | 1974 o> readline() -> 403: |
1975 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 1975 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
1976 o> readline() -> 2: | 1976 o> readline() -> 2: |
1977 o> 1\n | 1977 o> 1\n |
1978 o> readline() -> 1: | 1978 o> readline() -> 1: |
1979 o> \n | 1979 o> \n |
2009 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 2009 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
2010 i> flush() -> None | 2010 i> flush() -> None |
2011 o> readline() -> 62: | 2011 o> readline() -> 62: |
2012 o> upgraded * exp-ssh-v2-0001\n (glob) | 2012 o> upgraded * exp-ssh-v2-0001\n (glob) |
2013 o> readline() -> 4: | 2013 o> readline() -> 4: |
2014 o> 383\n | 2014 o> 402\n |
2015 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 2015 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
2016 o> read(1) -> 1: | 2016 o> read(1) -> 1: |
2017 o> \n | 2017 o> \n |
2018 sending pushkey command | 2018 sending pushkey command |
2019 i> write(8) -> 8: | 2019 i> write(8) -> 8: |
2020 i> pushkey\n | 2020 i> pushkey\n |
2075 i> between\n | 2075 i> between\n |
2076 i> pairs 81\n | 2076 i> pairs 81\n |
2077 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 2077 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
2078 i> flush() -> None | 2078 i> flush() -> None |
2079 o> readline() -> 4: | 2079 o> readline() -> 4: |
2080 o> 384\n | 2080 o> 403\n |
2081 o> readline() -> 384: | 2081 o> readline() -> 403: |
2082 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n | 2082 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n |
2083 o> readline() -> 2: | 2083 o> readline() -> 2: |
2084 o> 1\n | 2084 o> 1\n |
2085 o> readline() -> 1: | 2085 o> readline() -> 1: |
2086 o> \n | 2086 o> \n |
2115 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 | 2115 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000 |
2116 i> flush() -> None | 2116 i> flush() -> None |
2117 o> readline() -> 62: | 2117 o> readline() -> 62: |
2118 o> upgraded * exp-ssh-v2-0001\n (glob) | 2118 o> upgraded * exp-ssh-v2-0001\n (glob) |
2119 o> readline() -> 4: | 2119 o> readline() -> 4: |
2120 o> 383\n | 2120 o> 402\n |
2121 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN | 2121 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN |
2122 o> read(1) -> 1: | 2122 o> read(1) -> 1: |
2123 o> \n | 2123 o> \n |
2124 sending batch with 3 sub-commands | 2124 sending batch with 3 sub-commands |
2125 i> write(6) -> 6: | 2125 i> write(6) -> 6: |
2126 i> batch\n | 2126 i> batch\n |