##// END OF EJS Templates
revbranchcache: advertise and use 'rbc' exchange capability...
Boris Feld -
r36986:2090044a default
parent child Browse files
Show More
@@ -1492,6 +1492,7 b" capabilities = {'HG20': (),"
1492 'digests': tuple(sorted(util.DIGESTS.keys())),
1492 'digests': tuple(sorted(util.DIGESTS.keys())),
1493 'remote-changegroup': ('http', 'https'),
1493 'remote-changegroup': ('http', 'https'),
1494 'hgtagsfnodes': (),
1494 'hgtagsfnodes': (),
1495 'rev-branch-cache': (),
1495 'phases': ('heads',),
1496 'phases': ('heads',),
1496 'stream': ('v2',),
1497 'stream': ('v2',),
1497 }
1498 }
@@ -22,6 +22,7 b' substitutions = ['
22 br'phases%253Dheads%250A'
22 br'phases%253Dheads%250A'
23 br'pushkey%250A'
23 br'pushkey%250A'
24 br'remote-changegroup%253Dhttp%252Chttps%250A'
24 br'remote-changegroup%253Dhttp%252Chttps%250A'
25 br'rev-branch-cache%250A'
25 br'stream%253Dv2',
26 br'stream%253Dv2',
26 # (the replacement patterns)
27 # (the replacement patterns)
27 br'$USUAL_BUNDLE_CAPS$'
28 br'$USUAL_BUNDLE_CAPS$'
@@ -50,6 +51,7 b' substitutions = ['
50 br'phases%3Dheads%0A'
51 br'phases%3Dheads%0A'
51 br'pushkey%0A'
52 br'pushkey%0A'
52 br'remote-changegroup%3Dhttp%2Chttps%0A'
53 br'remote-changegroup%3Dhttp%2Chttps%0A'
54 br'rev-branch-cache%0A'
53 br'stream%3Dv2',
55 br'stream%3Dv2',
54 # (replacement patterns)
56 # (replacement patterns)
55 br'$USUAL_BUNDLE2_CAPS$'
57 br'$USUAL_BUNDLE2_CAPS$'
@@ -64,7 +66,8 b' substitutions = ['
64 br'listkeys%0A'
66 br'listkeys%0A'
65 br'phases%3Dheads%0A'
67 br'phases%3Dheads%0A'
66 br'pushkey%0A'
68 br'pushkey%0A'
67 br'remote-changegroup%3Dhttp%2Chttps',
69 br'remote-changegroup%3Dhttp%2Chttps%0A'
70 br'rev-branch-cache',
68 # (replacement patterns)
71 # (replacement patterns)
69 br'$USUAL_BUNDLE2_CAPS_SERVER$'
72 br'$USUAL_BUNDLE2_CAPS_SERVER$'
70 ),
73 ),
@@ -107,14 +107,14 b' Extension disabled for lack of a hook'
107 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
107 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
108 911600dab2ae7a9baff75958b84fe606851ce955
108 911600dab2ae7a9baff75958b84fe606851ce955
109 bundle2-output-bundle: "HG20", 5 parts total
109 bundle2-output-bundle: "HG20", 5 parts total
110 bundle2-output-part: "replycaps" 188 bytes payload
110 bundle2-output-part: "replycaps" 205 bytes payload
111 bundle2-output-part: "check:phases" 24 bytes payload
111 bundle2-output-part: "check:phases" 24 bytes payload
112 bundle2-output-part: "check:heads" streamed payload
112 bundle2-output-part: "check:heads" streamed payload
113 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
113 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
114 bundle2-output-part: "phase-heads" 24 bytes payload
114 bundle2-output-part: "phase-heads" 24 bytes payload
115 bundle2-input-bundle: with-transaction
115 bundle2-input-bundle: with-transaction
116 bundle2-input-part: "replycaps" supported
116 bundle2-input-part: "replycaps" supported
117 bundle2-input-part: total payload size 188
117 bundle2-input-part: total payload size 205
118 bundle2-input-part: "check:phases" supported
118 bundle2-input-part: "check:phases" supported
119 bundle2-input-part: total payload size 24
119 bundle2-input-part: total payload size 24
120 bundle2-input-part: "check:heads" supported
120 bundle2-input-part: "check:heads" supported
@@ -170,14 +170,14 b' Extension disabled for lack of acl.sourc'
170 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
170 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
171 911600dab2ae7a9baff75958b84fe606851ce955
171 911600dab2ae7a9baff75958b84fe606851ce955
172 bundle2-output-bundle: "HG20", 5 parts total
172 bundle2-output-bundle: "HG20", 5 parts total
173 bundle2-output-part: "replycaps" 188 bytes payload
173 bundle2-output-part: "replycaps" 205 bytes payload
174 bundle2-output-part: "check:phases" 24 bytes payload
174 bundle2-output-part: "check:phases" 24 bytes payload
175 bundle2-output-part: "check:heads" streamed payload
175 bundle2-output-part: "check:heads" streamed payload
176 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
176 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
177 bundle2-output-part: "phase-heads" 24 bytes payload
177 bundle2-output-part: "phase-heads" 24 bytes payload
178 bundle2-input-bundle: with-transaction
178 bundle2-input-bundle: with-transaction
179 bundle2-input-part: "replycaps" supported
179 bundle2-input-part: "replycaps" supported
180 bundle2-input-part: total payload size 188
180 bundle2-input-part: total payload size 205
181 bundle2-input-part: "check:phases" supported
181 bundle2-input-part: "check:phases" supported
182 bundle2-input-part: total payload size 24
182 bundle2-input-part: total payload size 24
183 bundle2-input-part: "check:heads" supported
183 bundle2-input-part: "check:heads" supported
@@ -236,14 +236,14 b' No [acl.allow]/[acl.deny]'
236 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
236 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
237 911600dab2ae7a9baff75958b84fe606851ce955
237 911600dab2ae7a9baff75958b84fe606851ce955
238 bundle2-output-bundle: "HG20", 5 parts total
238 bundle2-output-bundle: "HG20", 5 parts total
239 bundle2-output-part: "replycaps" 188 bytes payload
239 bundle2-output-part: "replycaps" 205 bytes payload
240 bundle2-output-part: "check:phases" 24 bytes payload
240 bundle2-output-part: "check:phases" 24 bytes payload
241 bundle2-output-part: "check:heads" streamed payload
241 bundle2-output-part: "check:heads" streamed payload
242 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
242 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
243 bundle2-output-part: "phase-heads" 24 bytes payload
243 bundle2-output-part: "phase-heads" 24 bytes payload
244 bundle2-input-bundle: with-transaction
244 bundle2-input-bundle: with-transaction
245 bundle2-input-part: "replycaps" supported
245 bundle2-input-part: "replycaps" supported
246 bundle2-input-part: total payload size 188
246 bundle2-input-part: total payload size 205
247 bundle2-input-part: "check:phases" supported
247 bundle2-input-part: "check:phases" supported
248 bundle2-input-part: total payload size 24
248 bundle2-input-part: total payload size 24
249 bundle2-input-part: "check:heads" supported
249 bundle2-input-part: "check:heads" supported
@@ -312,14 +312,14 b' Empty [acl.allow]'
312 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
312 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
313 911600dab2ae7a9baff75958b84fe606851ce955
313 911600dab2ae7a9baff75958b84fe606851ce955
314 bundle2-output-bundle: "HG20", 5 parts total
314 bundle2-output-bundle: "HG20", 5 parts total
315 bundle2-output-part: "replycaps" 188 bytes payload
315 bundle2-output-part: "replycaps" 205 bytes payload
316 bundle2-output-part: "check:phases" 24 bytes payload
316 bundle2-output-part: "check:phases" 24 bytes payload
317 bundle2-output-part: "check:heads" streamed payload
317 bundle2-output-part: "check:heads" streamed payload
318 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
318 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
319 bundle2-output-part: "phase-heads" 24 bytes payload
319 bundle2-output-part: "phase-heads" 24 bytes payload
320 bundle2-input-bundle: with-transaction
320 bundle2-input-bundle: with-transaction
321 bundle2-input-part: "replycaps" supported
321 bundle2-input-part: "replycaps" supported
322 bundle2-input-part: total payload size 188
322 bundle2-input-part: total payload size 205
323 bundle2-input-part: "check:phases" supported
323 bundle2-input-part: "check:phases" supported
324 bundle2-input-part: total payload size 24
324 bundle2-input-part: total payload size 24
325 bundle2-input-part: "check:heads" supported
325 bundle2-input-part: "check:heads" supported
@@ -380,14 +380,14 b' fred is allowed inside foo/'
380 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
380 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
381 911600dab2ae7a9baff75958b84fe606851ce955
381 911600dab2ae7a9baff75958b84fe606851ce955
382 bundle2-output-bundle: "HG20", 5 parts total
382 bundle2-output-bundle: "HG20", 5 parts total
383 bundle2-output-part: "replycaps" 188 bytes payload
383 bundle2-output-part: "replycaps" 205 bytes payload
384 bundle2-output-part: "check:phases" 24 bytes payload
384 bundle2-output-part: "check:phases" 24 bytes payload
385 bundle2-output-part: "check:heads" streamed payload
385 bundle2-output-part: "check:heads" streamed payload
386 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
386 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
387 bundle2-output-part: "phase-heads" 24 bytes payload
387 bundle2-output-part: "phase-heads" 24 bytes payload
388 bundle2-input-bundle: with-transaction
388 bundle2-input-bundle: with-transaction
389 bundle2-input-part: "replycaps" supported
389 bundle2-input-part: "replycaps" supported
390 bundle2-input-part: total payload size 188
390 bundle2-input-part: total payload size 205
391 bundle2-input-part: "check:phases" supported
391 bundle2-input-part: "check:phases" supported
392 bundle2-input-part: total payload size 24
392 bundle2-input-part: total payload size 24
393 bundle2-input-part: "check:heads" supported
393 bundle2-input-part: "check:heads" supported
@@ -453,14 +453,14 b' Empty [acl.deny]'
453 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
453 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
454 911600dab2ae7a9baff75958b84fe606851ce955
454 911600dab2ae7a9baff75958b84fe606851ce955
455 bundle2-output-bundle: "HG20", 5 parts total
455 bundle2-output-bundle: "HG20", 5 parts total
456 bundle2-output-part: "replycaps" 188 bytes payload
456 bundle2-output-part: "replycaps" 205 bytes payload
457 bundle2-output-part: "check:phases" 24 bytes payload
457 bundle2-output-part: "check:phases" 24 bytes payload
458 bundle2-output-part: "check:heads" streamed payload
458 bundle2-output-part: "check:heads" streamed payload
459 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
459 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
460 bundle2-output-part: "phase-heads" 24 bytes payload
460 bundle2-output-part: "phase-heads" 24 bytes payload
461 bundle2-input-bundle: with-transaction
461 bundle2-input-bundle: with-transaction
462 bundle2-input-part: "replycaps" supported
462 bundle2-input-part: "replycaps" supported
463 bundle2-input-part: total payload size 188
463 bundle2-input-part: total payload size 205
464 bundle2-input-part: "check:phases" supported
464 bundle2-input-part: "check:phases" supported
465 bundle2-input-part: total payload size 24
465 bundle2-input-part: total payload size 24
466 bundle2-input-part: "check:heads" supported
466 bundle2-input-part: "check:heads" supported
@@ -523,14 +523,14 b' fred is allowed inside foo/, but not foo'
523 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
523 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
524 911600dab2ae7a9baff75958b84fe606851ce955
524 911600dab2ae7a9baff75958b84fe606851ce955
525 bundle2-output-bundle: "HG20", 5 parts total
525 bundle2-output-bundle: "HG20", 5 parts total
526 bundle2-output-part: "replycaps" 188 bytes payload
526 bundle2-output-part: "replycaps" 205 bytes payload
527 bundle2-output-part: "check:phases" 24 bytes payload
527 bundle2-output-part: "check:phases" 24 bytes payload
528 bundle2-output-part: "check:heads" streamed payload
528 bundle2-output-part: "check:heads" streamed payload
529 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
529 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
530 bundle2-output-part: "phase-heads" 24 bytes payload
530 bundle2-output-part: "phase-heads" 24 bytes payload
531 bundle2-input-bundle: with-transaction
531 bundle2-input-bundle: with-transaction
532 bundle2-input-part: "replycaps" supported
532 bundle2-input-part: "replycaps" supported
533 bundle2-input-part: total payload size 188
533 bundle2-input-part: total payload size 205
534 bundle2-input-part: "check:phases" supported
534 bundle2-input-part: "check:phases" supported
535 bundle2-input-part: total payload size 24
535 bundle2-input-part: total payload size 24
536 bundle2-input-part: "check:heads" supported
536 bundle2-input-part: "check:heads" supported
@@ -598,14 +598,14 b' fred is allowed inside foo/, but not foo'
598 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
598 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
599 911600dab2ae7a9baff75958b84fe606851ce955
599 911600dab2ae7a9baff75958b84fe606851ce955
600 bundle2-output-bundle: "HG20", 5 parts total
600 bundle2-output-bundle: "HG20", 5 parts total
601 bundle2-output-part: "replycaps" 188 bytes payload
601 bundle2-output-part: "replycaps" 205 bytes payload
602 bundle2-output-part: "check:phases" 24 bytes payload
602 bundle2-output-part: "check:phases" 24 bytes payload
603 bundle2-output-part: "check:heads" streamed payload
603 bundle2-output-part: "check:heads" streamed payload
604 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
604 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
605 bundle2-output-part: "phase-heads" 24 bytes payload
605 bundle2-output-part: "phase-heads" 24 bytes payload
606 bundle2-input-bundle: with-transaction
606 bundle2-input-bundle: with-transaction
607 bundle2-input-part: "replycaps" supported
607 bundle2-input-part: "replycaps" supported
608 bundle2-input-part: total payload size 188
608 bundle2-input-part: total payload size 205
609 bundle2-input-part: "check:phases" supported
609 bundle2-input-part: "check:phases" supported
610 bundle2-input-part: total payload size 24
610 bundle2-input-part: total payload size 24
611 bundle2-input-part: "check:heads" supported
611 bundle2-input-part: "check:heads" supported
@@ -670,14 +670,14 b' fred is allowed inside foo/, but not foo'
670 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
670 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
671 911600dab2ae7a9baff75958b84fe606851ce955
671 911600dab2ae7a9baff75958b84fe606851ce955
672 bundle2-output-bundle: "HG20", 5 parts total
672 bundle2-output-bundle: "HG20", 5 parts total
673 bundle2-output-part: "replycaps" 188 bytes payload
673 bundle2-output-part: "replycaps" 205 bytes payload
674 bundle2-output-part: "check:phases" 24 bytes payload
674 bundle2-output-part: "check:phases" 24 bytes payload
675 bundle2-output-part: "check:heads" streamed payload
675 bundle2-output-part: "check:heads" streamed payload
676 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
676 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
677 bundle2-output-part: "phase-heads" 24 bytes payload
677 bundle2-output-part: "phase-heads" 24 bytes payload
678 bundle2-input-bundle: with-transaction
678 bundle2-input-bundle: with-transaction
679 bundle2-input-part: "replycaps" supported
679 bundle2-input-part: "replycaps" supported
680 bundle2-input-part: total payload size 188
680 bundle2-input-part: total payload size 205
681 bundle2-input-part: "check:phases" supported
681 bundle2-input-part: "check:phases" supported
682 bundle2-input-part: total payload size 24
682 bundle2-input-part: total payload size 24
683 bundle2-input-part: "check:heads" supported
683 bundle2-input-part: "check:heads" supported
@@ -744,14 +744,14 b' barney is allowed everywhere'
744 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
744 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
745 911600dab2ae7a9baff75958b84fe606851ce955
745 911600dab2ae7a9baff75958b84fe606851ce955
746 bundle2-output-bundle: "HG20", 5 parts total
746 bundle2-output-bundle: "HG20", 5 parts total
747 bundle2-output-part: "replycaps" 188 bytes payload
747 bundle2-output-part: "replycaps" 205 bytes payload
748 bundle2-output-part: "check:phases" 24 bytes payload
748 bundle2-output-part: "check:phases" 24 bytes payload
749 bundle2-output-part: "check:heads" streamed payload
749 bundle2-output-part: "check:heads" streamed payload
750 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
750 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
751 bundle2-output-part: "phase-heads" 24 bytes payload
751 bundle2-output-part: "phase-heads" 24 bytes payload
752 bundle2-input-bundle: with-transaction
752 bundle2-input-bundle: with-transaction
753 bundle2-input-part: "replycaps" supported
753 bundle2-input-part: "replycaps" supported
754 bundle2-input-part: total payload size 188
754 bundle2-input-part: total payload size 205
755 bundle2-input-part: "check:phases" supported
755 bundle2-input-part: "check:phases" supported
756 bundle2-input-part: total payload size 24
756 bundle2-input-part: total payload size 24
757 bundle2-input-part: "check:heads" supported
757 bundle2-input-part: "check:heads" supported
@@ -827,14 +827,14 b' wilma can change files with a .txt exten'
827 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
827 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
828 911600dab2ae7a9baff75958b84fe606851ce955
828 911600dab2ae7a9baff75958b84fe606851ce955
829 bundle2-output-bundle: "HG20", 5 parts total
829 bundle2-output-bundle: "HG20", 5 parts total
830 bundle2-output-part: "replycaps" 188 bytes payload
830 bundle2-output-part: "replycaps" 205 bytes payload
831 bundle2-output-part: "check:phases" 24 bytes payload
831 bundle2-output-part: "check:phases" 24 bytes payload
832 bundle2-output-part: "check:heads" streamed payload
832 bundle2-output-part: "check:heads" streamed payload
833 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
833 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
834 bundle2-output-part: "phase-heads" 24 bytes payload
834 bundle2-output-part: "phase-heads" 24 bytes payload
835 bundle2-input-bundle: with-transaction
835 bundle2-input-bundle: with-transaction
836 bundle2-input-part: "replycaps" supported
836 bundle2-input-part: "replycaps" supported
837 bundle2-input-part: total payload size 188
837 bundle2-input-part: total payload size 205
838 bundle2-input-part: "check:phases" supported
838 bundle2-input-part: "check:phases" supported
839 bundle2-input-part: total payload size 24
839 bundle2-input-part: total payload size 24
840 bundle2-input-part: "check:heads" supported
840 bundle2-input-part: "check:heads" supported
@@ -908,14 +908,14 b' file specified by acl.config does not ex'
908 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
908 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
909 911600dab2ae7a9baff75958b84fe606851ce955
909 911600dab2ae7a9baff75958b84fe606851ce955
910 bundle2-output-bundle: "HG20", 5 parts total
910 bundle2-output-bundle: "HG20", 5 parts total
911 bundle2-output-part: "replycaps" 188 bytes payload
911 bundle2-output-part: "replycaps" 205 bytes payload
912 bundle2-output-part: "check:phases" 24 bytes payload
912 bundle2-output-part: "check:phases" 24 bytes payload
913 bundle2-output-part: "check:heads" streamed payload
913 bundle2-output-part: "check:heads" streamed payload
914 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
914 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
915 bundle2-output-part: "phase-heads" 24 bytes payload
915 bundle2-output-part: "phase-heads" 24 bytes payload
916 bundle2-input-bundle: with-transaction
916 bundle2-input-bundle: with-transaction
917 bundle2-input-part: "replycaps" supported
917 bundle2-input-part: "replycaps" supported
918 bundle2-input-part: total payload size 188
918 bundle2-input-part: total payload size 205
919 bundle2-input-part: "check:phases" supported
919 bundle2-input-part: "check:phases" supported
920 bundle2-input-part: total payload size 24
920 bundle2-input-part: total payload size 24
921 bundle2-input-part: "check:heads" supported
921 bundle2-input-part: "check:heads" supported
@@ -984,14 +984,14 b' betty is allowed inside foo/ by a acl.co'
984 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
984 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
985 911600dab2ae7a9baff75958b84fe606851ce955
985 911600dab2ae7a9baff75958b84fe606851ce955
986 bundle2-output-bundle: "HG20", 5 parts total
986 bundle2-output-bundle: "HG20", 5 parts total
987 bundle2-output-part: "replycaps" 188 bytes payload
987 bundle2-output-part: "replycaps" 205 bytes payload
988 bundle2-output-part: "check:phases" 24 bytes payload
988 bundle2-output-part: "check:phases" 24 bytes payload
989 bundle2-output-part: "check:heads" streamed payload
989 bundle2-output-part: "check:heads" streamed payload
990 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
990 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
991 bundle2-output-part: "phase-heads" 24 bytes payload
991 bundle2-output-part: "phase-heads" 24 bytes payload
992 bundle2-input-bundle: with-transaction
992 bundle2-input-bundle: with-transaction
993 bundle2-input-part: "replycaps" supported
993 bundle2-input-part: "replycaps" supported
994 bundle2-input-part: total payload size 188
994 bundle2-input-part: total payload size 205
995 bundle2-input-part: "check:phases" supported
995 bundle2-input-part: "check:phases" supported
996 bundle2-input-part: total payload size 24
996 bundle2-input-part: total payload size 24
997 bundle2-input-part: "check:heads" supported
997 bundle2-input-part: "check:heads" supported
@@ -1071,14 +1071,14 b' acl.config can set only [acl.allow]/[acl'
1071 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
1071 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
1072 911600dab2ae7a9baff75958b84fe606851ce955
1072 911600dab2ae7a9baff75958b84fe606851ce955
1073 bundle2-output-bundle: "HG20", 5 parts total
1073 bundle2-output-bundle: "HG20", 5 parts total
1074 bundle2-output-part: "replycaps" 188 bytes payload
1074 bundle2-output-part: "replycaps" 205 bytes payload
1075 bundle2-output-part: "check:phases" 24 bytes payload
1075 bundle2-output-part: "check:phases" 24 bytes payload
1076 bundle2-output-part: "check:heads" streamed payload
1076 bundle2-output-part: "check:heads" streamed payload
1077 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1077 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1078 bundle2-output-part: "phase-heads" 24 bytes payload
1078 bundle2-output-part: "phase-heads" 24 bytes payload
1079 bundle2-input-bundle: with-transaction
1079 bundle2-input-bundle: with-transaction
1080 bundle2-input-part: "replycaps" supported
1080 bundle2-input-part: "replycaps" supported
1081 bundle2-input-part: total payload size 188
1081 bundle2-input-part: total payload size 205
1082 bundle2-input-part: "check:phases" supported
1082 bundle2-input-part: "check:phases" supported
1083 bundle2-input-part: total payload size 24
1083 bundle2-input-part: total payload size 24
1084 bundle2-input-part: "check:heads" supported
1084 bundle2-input-part: "check:heads" supported
@@ -1158,14 +1158,14 b' fred is always allowed'
1158 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
1158 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
1159 911600dab2ae7a9baff75958b84fe606851ce955
1159 911600dab2ae7a9baff75958b84fe606851ce955
1160 bundle2-output-bundle: "HG20", 5 parts total
1160 bundle2-output-bundle: "HG20", 5 parts total
1161 bundle2-output-part: "replycaps" 188 bytes payload
1161 bundle2-output-part: "replycaps" 205 bytes payload
1162 bundle2-output-part: "check:phases" 24 bytes payload
1162 bundle2-output-part: "check:phases" 24 bytes payload
1163 bundle2-output-part: "check:heads" streamed payload
1163 bundle2-output-part: "check:heads" streamed payload
1164 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1164 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1165 bundle2-output-part: "phase-heads" 24 bytes payload
1165 bundle2-output-part: "phase-heads" 24 bytes payload
1166 bundle2-input-bundle: with-transaction
1166 bundle2-input-bundle: with-transaction
1167 bundle2-input-part: "replycaps" supported
1167 bundle2-input-part: "replycaps" supported
1168 bundle2-input-part: total payload size 188
1168 bundle2-input-part: total payload size 205
1169 bundle2-input-part: "check:phases" supported
1169 bundle2-input-part: "check:phases" supported
1170 bundle2-input-part: total payload size 24
1170 bundle2-input-part: total payload size 24
1171 bundle2-input-part: "check:heads" supported
1171 bundle2-input-part: "check:heads" supported
@@ -1241,14 +1241,14 b' no one is allowed inside foo/Bar/'
1241 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
1241 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
1242 911600dab2ae7a9baff75958b84fe606851ce955
1242 911600dab2ae7a9baff75958b84fe606851ce955
1243 bundle2-output-bundle: "HG20", 5 parts total
1243 bundle2-output-bundle: "HG20", 5 parts total
1244 bundle2-output-part: "replycaps" 188 bytes payload
1244 bundle2-output-part: "replycaps" 205 bytes payload
1245 bundle2-output-part: "check:phases" 24 bytes payload
1245 bundle2-output-part: "check:phases" 24 bytes payload
1246 bundle2-output-part: "check:heads" streamed payload
1246 bundle2-output-part: "check:heads" streamed payload
1247 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1247 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1248 bundle2-output-part: "phase-heads" 24 bytes payload
1248 bundle2-output-part: "phase-heads" 24 bytes payload
1249 bundle2-input-bundle: with-transaction
1249 bundle2-input-bundle: with-transaction
1250 bundle2-input-part: "replycaps" supported
1250 bundle2-input-part: "replycaps" supported
1251 bundle2-input-part: total payload size 188
1251 bundle2-input-part: total payload size 205
1252 bundle2-input-part: "check:phases" supported
1252 bundle2-input-part: "check:phases" supported
1253 bundle2-input-part: total payload size 24
1253 bundle2-input-part: total payload size 24
1254 bundle2-input-part: "check:heads" supported
1254 bundle2-input-part: "check:heads" supported
@@ -1321,14 +1321,14 b' OS-level groups'
1321 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
1321 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
1322 911600dab2ae7a9baff75958b84fe606851ce955
1322 911600dab2ae7a9baff75958b84fe606851ce955
1323 bundle2-output-bundle: "HG20", 5 parts total
1323 bundle2-output-bundle: "HG20", 5 parts total
1324 bundle2-output-part: "replycaps" 188 bytes payload
1324 bundle2-output-part: "replycaps" 205 bytes payload
1325 bundle2-output-part: "check:phases" 24 bytes payload
1325 bundle2-output-part: "check:phases" 24 bytes payload
1326 bundle2-output-part: "check:heads" streamed payload
1326 bundle2-output-part: "check:heads" streamed payload
1327 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1327 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1328 bundle2-output-part: "phase-heads" 24 bytes payload
1328 bundle2-output-part: "phase-heads" 24 bytes payload
1329 bundle2-input-bundle: with-transaction
1329 bundle2-input-bundle: with-transaction
1330 bundle2-input-part: "replycaps" supported
1330 bundle2-input-part: "replycaps" supported
1331 bundle2-input-part: total payload size 188
1331 bundle2-input-part: total payload size 205
1332 bundle2-input-part: "check:phases" supported
1332 bundle2-input-part: "check:phases" supported
1333 bundle2-input-part: total payload size 24
1333 bundle2-input-part: total payload size 24
1334 bundle2-input-part: "check:heads" supported
1334 bundle2-input-part: "check:heads" supported
@@ -1405,14 +1405,14 b' OS-level groups'
1405 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
1405 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
1406 911600dab2ae7a9baff75958b84fe606851ce955
1406 911600dab2ae7a9baff75958b84fe606851ce955
1407 bundle2-output-bundle: "HG20", 5 parts total
1407 bundle2-output-bundle: "HG20", 5 parts total
1408 bundle2-output-part: "replycaps" 188 bytes payload
1408 bundle2-output-part: "replycaps" 205 bytes payload
1409 bundle2-output-part: "check:phases" 24 bytes payload
1409 bundle2-output-part: "check:phases" 24 bytes payload
1410 bundle2-output-part: "check:heads" streamed payload
1410 bundle2-output-part: "check:heads" streamed payload
1411 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1411 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1412 bundle2-output-part: "phase-heads" 24 bytes payload
1412 bundle2-output-part: "phase-heads" 24 bytes payload
1413 bundle2-input-bundle: with-transaction
1413 bundle2-input-bundle: with-transaction
1414 bundle2-input-part: "replycaps" supported
1414 bundle2-input-part: "replycaps" supported
1415 bundle2-input-part: total payload size 188
1415 bundle2-input-part: total payload size 205
1416 bundle2-input-part: "check:phases" supported
1416 bundle2-input-part: "check:phases" supported
1417 bundle2-input-part: total payload size 24
1417 bundle2-input-part: total payload size 24
1418 bundle2-input-part: "check:heads" supported
1418 bundle2-input-part: "check:heads" supported
@@ -1526,14 +1526,14 b' No branch acls specified'
1526 911600dab2ae7a9baff75958b84fe606851ce955
1526 911600dab2ae7a9baff75958b84fe606851ce955
1527 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1527 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1528 bundle2-output-bundle: "HG20", 5 parts total
1528 bundle2-output-bundle: "HG20", 5 parts total
1529 bundle2-output-part: "replycaps" 188 bytes payload
1529 bundle2-output-part: "replycaps" 205 bytes payload
1530 bundle2-output-part: "check:phases" 48 bytes payload
1530 bundle2-output-part: "check:phases" 48 bytes payload
1531 bundle2-output-part: "check:heads" streamed payload
1531 bundle2-output-part: "check:heads" streamed payload
1532 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1532 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1533 bundle2-output-part: "phase-heads" 48 bytes payload
1533 bundle2-output-part: "phase-heads" 48 bytes payload
1534 bundle2-input-bundle: with-transaction
1534 bundle2-input-bundle: with-transaction
1535 bundle2-input-part: "replycaps" supported
1535 bundle2-input-part: "replycaps" supported
1536 bundle2-input-part: total payload size 188
1536 bundle2-input-part: total payload size 205
1537 bundle2-input-part: "check:phases" supported
1537 bundle2-input-part: "check:phases" supported
1538 bundle2-input-part: total payload size 48
1538 bundle2-input-part: total payload size 48
1539 bundle2-input-part: "check:heads" supported
1539 bundle2-input-part: "check:heads" supported
@@ -1611,14 +1611,14 b' Branch acl deny test'
1611 911600dab2ae7a9baff75958b84fe606851ce955
1611 911600dab2ae7a9baff75958b84fe606851ce955
1612 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1612 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1613 bundle2-output-bundle: "HG20", 5 parts total
1613 bundle2-output-bundle: "HG20", 5 parts total
1614 bundle2-output-part: "replycaps" 188 bytes payload
1614 bundle2-output-part: "replycaps" 205 bytes payload
1615 bundle2-output-part: "check:phases" 48 bytes payload
1615 bundle2-output-part: "check:phases" 48 bytes payload
1616 bundle2-output-part: "check:heads" streamed payload
1616 bundle2-output-part: "check:heads" streamed payload
1617 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1617 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1618 bundle2-output-part: "phase-heads" 48 bytes payload
1618 bundle2-output-part: "phase-heads" 48 bytes payload
1619 bundle2-input-bundle: with-transaction
1619 bundle2-input-bundle: with-transaction
1620 bundle2-input-part: "replycaps" supported
1620 bundle2-input-part: "replycaps" supported
1621 bundle2-input-part: total payload size 188
1621 bundle2-input-part: total payload size 205
1622 bundle2-input-part: "check:phases" supported
1622 bundle2-input-part: "check:phases" supported
1623 bundle2-input-part: total payload size 48
1623 bundle2-input-part: total payload size 48
1624 bundle2-input-part: "check:heads" supported
1624 bundle2-input-part: "check:heads" supported
@@ -1689,14 +1689,14 b' Branch acl empty allow test'
1689 911600dab2ae7a9baff75958b84fe606851ce955
1689 911600dab2ae7a9baff75958b84fe606851ce955
1690 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1690 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1691 bundle2-output-bundle: "HG20", 5 parts total
1691 bundle2-output-bundle: "HG20", 5 parts total
1692 bundle2-output-part: "replycaps" 188 bytes payload
1692 bundle2-output-part: "replycaps" 205 bytes payload
1693 bundle2-output-part: "check:phases" 48 bytes payload
1693 bundle2-output-part: "check:phases" 48 bytes payload
1694 bundle2-output-part: "check:heads" streamed payload
1694 bundle2-output-part: "check:heads" streamed payload
1695 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1695 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1696 bundle2-output-part: "phase-heads" 48 bytes payload
1696 bundle2-output-part: "phase-heads" 48 bytes payload
1697 bundle2-input-bundle: with-transaction
1697 bundle2-input-bundle: with-transaction
1698 bundle2-input-part: "replycaps" supported
1698 bundle2-input-part: "replycaps" supported
1699 bundle2-input-part: total payload size 188
1699 bundle2-input-part: total payload size 205
1700 bundle2-input-part: "check:phases" supported
1700 bundle2-input-part: "check:phases" supported
1701 bundle2-input-part: total payload size 48
1701 bundle2-input-part: total payload size 48
1702 bundle2-input-part: "check:heads" supported
1702 bundle2-input-part: "check:heads" supported
@@ -1763,14 +1763,14 b' Branch acl allow other'
1763 911600dab2ae7a9baff75958b84fe606851ce955
1763 911600dab2ae7a9baff75958b84fe606851ce955
1764 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1764 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1765 bundle2-output-bundle: "HG20", 5 parts total
1765 bundle2-output-bundle: "HG20", 5 parts total
1766 bundle2-output-part: "replycaps" 188 bytes payload
1766 bundle2-output-part: "replycaps" 205 bytes payload
1767 bundle2-output-part: "check:phases" 48 bytes payload
1767 bundle2-output-part: "check:phases" 48 bytes payload
1768 bundle2-output-part: "check:heads" streamed payload
1768 bundle2-output-part: "check:heads" streamed payload
1769 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1769 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1770 bundle2-output-part: "phase-heads" 48 bytes payload
1770 bundle2-output-part: "phase-heads" 48 bytes payload
1771 bundle2-input-bundle: with-transaction
1771 bundle2-input-bundle: with-transaction
1772 bundle2-input-part: "replycaps" supported
1772 bundle2-input-part: "replycaps" supported
1773 bundle2-input-part: total payload size 188
1773 bundle2-input-part: total payload size 205
1774 bundle2-input-part: "check:phases" supported
1774 bundle2-input-part: "check:phases" supported
1775 bundle2-input-part: total payload size 48
1775 bundle2-input-part: total payload size 48
1776 bundle2-input-part: "check:heads" supported
1776 bundle2-input-part: "check:heads" supported
@@ -1831,14 +1831,14 b' Branch acl allow other'
1831 911600dab2ae7a9baff75958b84fe606851ce955
1831 911600dab2ae7a9baff75958b84fe606851ce955
1832 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1832 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1833 bundle2-output-bundle: "HG20", 5 parts total
1833 bundle2-output-bundle: "HG20", 5 parts total
1834 bundle2-output-part: "replycaps" 188 bytes payload
1834 bundle2-output-part: "replycaps" 205 bytes payload
1835 bundle2-output-part: "check:phases" 48 bytes payload
1835 bundle2-output-part: "check:phases" 48 bytes payload
1836 bundle2-output-part: "check:heads" streamed payload
1836 bundle2-output-part: "check:heads" streamed payload
1837 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1837 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1838 bundle2-output-part: "phase-heads" 48 bytes payload
1838 bundle2-output-part: "phase-heads" 48 bytes payload
1839 bundle2-input-bundle: with-transaction
1839 bundle2-input-bundle: with-transaction
1840 bundle2-input-part: "replycaps" supported
1840 bundle2-input-part: "replycaps" supported
1841 bundle2-input-part: total payload size 188
1841 bundle2-input-part: total payload size 205
1842 bundle2-input-part: "check:phases" supported
1842 bundle2-input-part: "check:phases" supported
1843 bundle2-input-part: total payload size 48
1843 bundle2-input-part: total payload size 48
1844 bundle2-input-part: "check:heads" supported
1844 bundle2-input-part: "check:heads" supported
@@ -1921,14 +1921,14 b' push foobar into the remote'
1921 911600dab2ae7a9baff75958b84fe606851ce955
1921 911600dab2ae7a9baff75958b84fe606851ce955
1922 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1922 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1923 bundle2-output-bundle: "HG20", 5 parts total
1923 bundle2-output-bundle: "HG20", 5 parts total
1924 bundle2-output-part: "replycaps" 188 bytes payload
1924 bundle2-output-part: "replycaps" 205 bytes payload
1925 bundle2-output-part: "check:phases" 48 bytes payload
1925 bundle2-output-part: "check:phases" 48 bytes payload
1926 bundle2-output-part: "check:heads" streamed payload
1926 bundle2-output-part: "check:heads" streamed payload
1927 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1927 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1928 bundle2-output-part: "phase-heads" 48 bytes payload
1928 bundle2-output-part: "phase-heads" 48 bytes payload
1929 bundle2-input-bundle: with-transaction
1929 bundle2-input-bundle: with-transaction
1930 bundle2-input-part: "replycaps" supported
1930 bundle2-input-part: "replycaps" supported
1931 bundle2-input-part: total payload size 188
1931 bundle2-input-part: total payload size 205
1932 bundle2-input-part: "check:phases" supported
1932 bundle2-input-part: "check:phases" supported
1933 bundle2-input-part: total payload size 48
1933 bundle2-input-part: total payload size 48
1934 bundle2-input-part: "check:heads" supported
1934 bundle2-input-part: "check:heads" supported
@@ -2010,14 +2010,14 b' Branch acl conflicting deny'
2010 911600dab2ae7a9baff75958b84fe606851ce955
2010 911600dab2ae7a9baff75958b84fe606851ce955
2011 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
2011 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
2012 bundle2-output-bundle: "HG20", 5 parts total
2012 bundle2-output-bundle: "HG20", 5 parts total
2013 bundle2-output-part: "replycaps" 188 bytes payload
2013 bundle2-output-part: "replycaps" 205 bytes payload
2014 bundle2-output-part: "check:phases" 48 bytes payload
2014 bundle2-output-part: "check:phases" 48 bytes payload
2015 bundle2-output-part: "check:heads" streamed payload
2015 bundle2-output-part: "check:heads" streamed payload
2016 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
2016 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
2017 bundle2-output-part: "phase-heads" 48 bytes payload
2017 bundle2-output-part: "phase-heads" 48 bytes payload
2018 bundle2-input-bundle: with-transaction
2018 bundle2-input-bundle: with-transaction
2019 bundle2-input-part: "replycaps" supported
2019 bundle2-input-part: "replycaps" supported
2020 bundle2-input-part: total payload size 188
2020 bundle2-input-part: total payload size 205
2021 bundle2-input-part: "check:phases" supported
2021 bundle2-input-part: "check:phases" supported
2022 bundle2-input-part: total payload size 48
2022 bundle2-input-part: total payload size 48
2023 bundle2-input-part: "check:heads" supported
2023 bundle2-input-part: "check:heads" supported
@@ -2083,14 +2083,14 b" User 'astro' must not be denied"
2083 911600dab2ae7a9baff75958b84fe606851ce955
2083 911600dab2ae7a9baff75958b84fe606851ce955
2084 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
2084 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
2085 bundle2-output-bundle: "HG20", 5 parts total
2085 bundle2-output-bundle: "HG20", 5 parts total
2086 bundle2-output-part: "replycaps" 188 bytes payload
2086 bundle2-output-part: "replycaps" 205 bytes payload
2087 bundle2-output-part: "check:phases" 48 bytes payload
2087 bundle2-output-part: "check:phases" 48 bytes payload
2088 bundle2-output-part: "check:heads" streamed payload
2088 bundle2-output-part: "check:heads" streamed payload
2089 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
2089 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
2090 bundle2-output-part: "phase-heads" 48 bytes payload
2090 bundle2-output-part: "phase-heads" 48 bytes payload
2091 bundle2-input-bundle: with-transaction
2091 bundle2-input-bundle: with-transaction
2092 bundle2-input-part: "replycaps" supported
2092 bundle2-input-part: "replycaps" supported
2093 bundle2-input-part: total payload size 188
2093 bundle2-input-part: total payload size 205
2094 bundle2-input-part: "check:phases" supported
2094 bundle2-input-part: "check:phases" supported
2095 bundle2-input-part: total payload size 48
2095 bundle2-input-part: total payload size 48
2096 bundle2-input-part: "check:heads" supported
2096 bundle2-input-part: "check:heads" supported
@@ -2166,14 +2166,14 b' Non-astro users must be denied'
2166 911600dab2ae7a9baff75958b84fe606851ce955
2166 911600dab2ae7a9baff75958b84fe606851ce955
2167 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
2167 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
2168 bundle2-output-bundle: "HG20", 5 parts total
2168 bundle2-output-bundle: "HG20", 5 parts total
2169 bundle2-output-part: "replycaps" 188 bytes payload
2169 bundle2-output-part: "replycaps" 205 bytes payload
2170 bundle2-output-part: "check:phases" 48 bytes payload
2170 bundle2-output-part: "check:phases" 48 bytes payload
2171 bundle2-output-part: "check:heads" streamed payload
2171 bundle2-output-part: "check:heads" streamed payload
2172 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
2172 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
2173 bundle2-output-part: "phase-heads" 48 bytes payload
2173 bundle2-output-part: "phase-heads" 48 bytes payload
2174 bundle2-input-bundle: with-transaction
2174 bundle2-input-bundle: with-transaction
2175 bundle2-input-part: "replycaps" supported
2175 bundle2-input-part: "replycaps" supported
2176 bundle2-input-part: total payload size 188
2176 bundle2-input-part: total payload size 205
2177 bundle2-input-part: "check:phases" supported
2177 bundle2-input-part: "check:phases" supported
2178 bundle2-input-part: total payload size 48
2178 bundle2-input-part: total payload size 48
2179 bundle2-input-part: "check:heads" supported
2179 bundle2-input-part: "check:heads" supported
@@ -129,10 +129,10 b' delete a remote bookmark'
129 bundle2-output: bundle parameter:
129 bundle2-output: bundle parameter:
130 bundle2-output: start of parts
130 bundle2-output: start of parts
131 bundle2-output: bundle part: "replycaps"
131 bundle2-output: bundle part: "replycaps"
132 bundle2-output-part: "replycaps" 205 bytes payload
132 bundle2-output-part: "replycaps" 222 bytes payload
133 bundle2-output: part 0: "REPLYCAPS"
133 bundle2-output: part 0: "REPLYCAPS"
134 bundle2-output: header chunk size: 16
134 bundle2-output: header chunk size: 16
135 bundle2-output: payload chunk size: 205
135 bundle2-output: payload chunk size: 222
136 bundle2-output: closing payload chunk
136 bundle2-output: closing payload chunk
137 bundle2-output: bundle part: "check:bookmarks"
137 bundle2-output: bundle part: "check:bookmarks"
138 bundle2-output-part: "check:bookmarks" 23 bytes payload
138 bundle2-output-part: "check:bookmarks" 23 bytes payload
@@ -162,9 +162,9 b' delete a remote bookmark'
162 bundle2-input: part parameters: 0
162 bundle2-input: part parameters: 0
163 bundle2-input: found a handler for part replycaps
163 bundle2-input: found a handler for part replycaps
164 bundle2-input-part: "replycaps" supported
164 bundle2-input-part: "replycaps" supported
165 bundle2-input: payload chunk size: 205
165 bundle2-input: payload chunk size: 222
166 bundle2-input: payload chunk size: 0
166 bundle2-input: payload chunk size: 0
167 bundle2-input-part: total payload size 205
167 bundle2-input-part: total payload size 222
168 bundle2-input: part header size: 22
168 bundle2-input: part header size: 22
169 bundle2-input: part type: "CHECK:BOOKMARKS"
169 bundle2-input: part type: "CHECK:BOOKMARKS"
170 bundle2-input: part id: "1"
170 bundle2-input: part id: "1"
@@ -241,10 +241,10 b' delete a remote bookmark'
241 bundle2-output: bundle parameter:
241 bundle2-output: bundle parameter:
242 bundle2-output: start of parts
242 bundle2-output: start of parts
243 bundle2-output: bundle part: "replycaps"
243 bundle2-output: bundle part: "replycaps"
244 bundle2-output-part: "replycaps" 205 bytes payload
244 bundle2-output-part: "replycaps" 222 bytes payload
245 bundle2-output: part 0: "REPLYCAPS"
245 bundle2-output: part 0: "REPLYCAPS"
246 bundle2-output: header chunk size: 16
246 bundle2-output: header chunk size: 16
247 bundle2-output: payload chunk size: 205
247 bundle2-output: payload chunk size: 222
248 bundle2-output: closing payload chunk
248 bundle2-output: closing payload chunk
249 bundle2-output: bundle part: "check:bookmarks"
249 bundle2-output: bundle part: "check:bookmarks"
250 bundle2-output-part: "check:bookmarks" 23 bytes payload
250 bundle2-output-part: "check:bookmarks" 23 bytes payload
@@ -275,9 +275,9 b' delete a remote bookmark'
275 bundle2-input: part parameters: 0
275 bundle2-input: part parameters: 0
276 bundle2-input: found a handler for part replycaps
276 bundle2-input: found a handler for part replycaps
277 bundle2-input-part: "replycaps" supported
277 bundle2-input-part: "replycaps" supported
278 bundle2-input: payload chunk size: 205
278 bundle2-input: payload chunk size: 222
279 bundle2-input: payload chunk size: 0
279 bundle2-input: payload chunk size: 0
280 bundle2-input-part: total payload size 205
280 bundle2-input-part: total payload size 222
281 bundle2-input: part header size: 22
281 bundle2-input: part header size: 22
282 bundle2-input: part type: "CHECK:BOOKMARKS"
282 bundle2-input: part type: "CHECK:BOOKMARKS"
283 bundle2-input: part id: "1"
283 bundle2-input: part id: "1"
@@ -71,6 +71,7 b' Cannot stream clone when server.uncompre'
71 remote-changegroup
71 remote-changegroup
72 http
72 http
73 https
73 https
74 rev-branch-cache
74
75
75 $ hg clone --stream -U http://localhost:$HGPORT server-disabled
76 $ hg clone --stream -U http://localhost:$HGPORT server-disabled
76 warning: stream clone requested but server has them disabled
77 warning: stream clone requested but server has them disabled
@@ -136,6 +137,7 b' Cannot stream clone when server.uncompre'
136 remote-changegroup
137 remote-changegroup
137 http
138 http
138 https
139 https
140 rev-branch-cache
139
141
140 $ hg clone --stream -U http://localhost:$HGPORT server-disabled
142 $ hg clone --stream -U http://localhost:$HGPORT server-disabled
141 warning: stream clone requested but server has them disabled
143 warning: stream clone requested but server has them disabled
@@ -379,6 +379,7 b' Test debugcapabilities command:'
379 remote-changegroup
379 remote-changegroup
380 http
380 http
381 https
381 https
382 rev-branch-cache
382 stream
383 stream
383 v2
384 v2
384
385
@@ -397,7 +398,7 b' Test debugpeer'
397 devel-peer-request: between
398 devel-peer-request: between
398 devel-peer-request: pairs: 81 bytes
399 devel-peer-request: pairs: 81 bytes
399 sending between command
400 sending between command
400 remote: 384
401 remote: 403
401 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
402 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
402 remote: 1
403 remote: 1
403 url: ssh://user@dummy/debugrevlog
404 url: ssh://user@dummy/debugrevlog
@@ -118,9 +118,9 b' Failure on subsequent HTTP request on th'
118 write(23) -> Server: badhttpserver\r\n
118 write(23) -> Server: badhttpserver\r\n
119 write(37) -> Date: $HTTP_DATE$\r\n
119 write(37) -> Date: $HTTP_DATE$\r\n
120 write(41) -> Content-Type: application/mercurial-0.1\r\n
120 write(41) -> Content-Type: application/mercurial-0.1\r\n
121 write(21) -> Content-Length: 417\r\n
121 write(21) -> Content-Length: 436\r\n
122 write(2) -> \r\n
122 write(2) -> \r\n
123 write(417) -> lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
123 write(436) -> lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
124 readline(4? from 65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n (glob)
124 readline(4? from 65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n (glob)
125 readline(1? from -1) -> (1?) Accept-Encoding* (glob)
125 readline(1? from -1) -> (1?) Accept-Encoding* (glob)
126 read limit reached; closing socket
126 read limit reached; closing socket
@@ -159,9 +159,9 b' Failure to read getbundle HTTP request'
159 write(23) -> Server: badhttpserver\r\n
159 write(23) -> Server: badhttpserver\r\n
160 write(37) -> Date: $HTTP_DATE$\r\n
160 write(37) -> Date: $HTTP_DATE$\r\n
161 write(41) -> Content-Type: application/mercurial-0.1\r\n
161 write(41) -> Content-Type: application/mercurial-0.1\r\n
162 write(21) -> Content-Length: 417\r\n
162 write(21) -> Content-Length: 436\r\n
163 write(2) -> \r\n
163 write(2) -> \r\n
164 write(417) -> lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
164 write(436) -> lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
165 readline(13? from 65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n (glob)
165 readline(13? from 65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n (glob)
166 readline(1?? from -1) -> (27) Accept-Encoding: identity\r\n (glob)
166 readline(1?? from -1) -> (27) Accept-Encoding: identity\r\n (glob)
167 readline(8? from -1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob)
167 readline(8? from -1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob)
@@ -216,9 +216,9 b' Now do a variation using POST to send ar'
216 write(23) -> Server: badhttpserver\r\n
216 write(23) -> Server: badhttpserver\r\n
217 write(37) -> Date: $HTTP_DATE$\r\n
217 write(37) -> Date: $HTTP_DATE$\r\n
218 write(41) -> Content-Type: application/mercurial-0.1\r\n
218 write(41) -> Content-Type: application/mercurial-0.1\r\n
219 write(21) -> Content-Length: 430\r\n
219 write(21) -> Content-Length: 449\r\n
220 write(2) -> \r\n
220 write(2) -> \r\n
221 write(430) -> lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httppostargs httpmediatype=0.1rx,0.1tx,0.2tx compression=none
221 write(449) -> lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httppostargs httpmediatype=0.1rx,0.1tx,0.2tx compression=none
222 readline\(14[67] from 65537\) -> \(2[67]\) POST /\?cmd=batch HTTP/1.1\\r\\n (re)
222 readline\(14[67] from 65537\) -> \(2[67]\) POST /\?cmd=batch HTTP/1.1\\r\\n (re)
223 readline\(1(19|20) from -1\) -> \(27\) Accept-Encoding: identity\\r\\n (re)
223 readline\(1(19|20) from -1\) -> \(27\) Accept-Encoding: identity\\r\\n (re)
224 readline(9? from -1) -> (41) content-type: application/mercurial-0.1\r\n (glob)
224 readline(9? from -1) -> (41) content-type: application/mercurial-0.1\r\n (glob)
@@ -275,7 +275,7 b' Server sends an incomplete capabilities '
275 $ cat hg.pid > $DAEMON_PIDS
275 $ cat hg.pid > $DAEMON_PIDS
276
276
277 $ hg clone http://localhost:$HGPORT/ clone
277 $ hg clone http://localhost:$HGPORT/ clone
278 abort: HTTP request error (incomplete response; expected 397 bytes got 20)
278 abort: HTTP request error (incomplete response; expected 416 bytes got 20)
279 (this may be an intermittent network failure; if the error persists, consider contacting the network or server operator)
279 (this may be an intermittent network failure; if the error persists, consider contacting the network or server operator)
280 [255]
280 [255]
281
281
@@ -292,16 +292,16 b' Server sends an incomplete capabilities '
292 write(23 from 23) -> (121) Server: badhttpserver\r\n
292 write(23 from 23) -> (121) Server: badhttpserver\r\n
293 write(37 from 37) -> (84) Date: $HTTP_DATE$\r\n
293 write(37 from 37) -> (84) Date: $HTTP_DATE$\r\n
294 write(41 from 41) -> (43) Content-Type: application/mercurial-0.1\r\n
294 write(41 from 41) -> (43) Content-Type: application/mercurial-0.1\r\n
295 write(21 from 21) -> (22) Content-Length: 417\r\n
295 write(21 from 21) -> (22) Content-Length: 436\r\n
296 write(2 from 2) -> (20) \r\n
296 write(2 from 2) -> (20) \r\n
297 write(20 from 417) -> (0) lookup branchmap pus
297 write(20 from 436) -> (0) lookup branchmap pus
298 write limit reached; closing socket
298 write limit reached; closing socket
299
299
300 $ rm -f error.log
300 $ rm -f error.log
301
301
302 Server sends incomplete headers for batch request
302 Server sends incomplete headers for batch request
303
303
304 $ hg serve --config badserver.closeaftersendbytes=695 -p $HGPORT -d --pid-file=hg.pid -E error.log
304 $ hg serve --config badserver.closeaftersendbytes=714 -p $HGPORT -d --pid-file=hg.pid -E error.log
305 $ cat hg.pid > $DAEMON_PIDS
305 $ cat hg.pid > $DAEMON_PIDS
306
306
307 TODO this output is horrible
307 TODO this output is horrible
@@ -323,13 +323,13 b' TODO this output is horrible'
323 readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
323 readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
324 readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
324 readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
325 readline(-1) -> (2) \r\n
325 readline(-1) -> (2) \r\n
326 write(36 from 36) -> (659) HTTP/1.1 200 Script output follows\r\n
326 write(36 from 36) -> (678) HTTP/1.1 200 Script output follows\r\n
327 write(23 from 23) -> (636) Server: badhttpserver\r\n
327 write(23 from 23) -> (655) Server: badhttpserver\r\n
328 write(37 from 37) -> (599) Date: $HTTP_DATE$\r\n
328 write(37 from 37) -> (618) Date: $HTTP_DATE$\r\n
329 write(41 from 41) -> (558) Content-Type: application/mercurial-0.1\r\n
329 write(41 from 41) -> (577) Content-Type: application/mercurial-0.1\r\n
330 write(21 from 21) -> (537) Content-Length: 417\r\n
330 write(21 from 21) -> (556) Content-Length: 436\r\n
331 write(2 from 2) -> (535) \r\n
331 write(2 from 2) -> (554) \r\n
332 write(417 from 417) -> (118) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
332 write(436 from 436) -> (118) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
333 readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
333 readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
334 readline(-1) -> (27) Accept-Encoding: identity\r\n
334 readline(-1) -> (27) Accept-Encoding: identity\r\n
335 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
335 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
@@ -350,7 +350,7 b' TODO this output is horrible'
350
350
351 Server sends an incomplete HTTP response body to batch request
351 Server sends an incomplete HTTP response body to batch request
352
352
353 $ hg serve --config badserver.closeaftersendbytes=760 -p $HGPORT -d --pid-file=hg.pid -E error.log
353 $ hg serve --config badserver.closeaftersendbytes=779 -p $HGPORT -d --pid-file=hg.pid -E error.log
354 $ cat hg.pid > $DAEMON_PIDS
354 $ cat hg.pid > $DAEMON_PIDS
355
355
356 TODO client spews a stack due to uncaught ValueError in batch.results()
356 TODO client spews a stack due to uncaught ValueError in batch.results()
@@ -371,13 +371,13 b' TODO client spews a stack due to uncaugh'
371 readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
371 readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
372 readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
372 readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
373 readline(-1) -> (2) \r\n
373 readline(-1) -> (2) \r\n
374 write(36 from 36) -> (724) HTTP/1.1 200 Script output follows\r\n
374 write(36 from 36) -> (743) HTTP/1.1 200 Script output follows\r\n
375 write(23 from 23) -> (701) Server: badhttpserver\r\n
375 write(23 from 23) -> (720) Server: badhttpserver\r\n
376 write(37 from 37) -> (664) Date: $HTTP_DATE$\r\n
376 write(37 from 37) -> (683) Date: $HTTP_DATE$\r\n
377 write(41 from 41) -> (623) Content-Type: application/mercurial-0.1\r\n
377 write(41 from 41) -> (642) Content-Type: application/mercurial-0.1\r\n
378 write(21 from 21) -> (602) Content-Length: 417\r\n
378 write(21 from 21) -> (621) Content-Length: 436\r\n
379 write(2 from 2) -> (600) \r\n
379 write(2 from 2) -> (619) \r\n
380 write(417 from 417) -> (183) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
380 write(436 from 436) -> (183) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
381 readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
381 readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
382 readline(-1) -> (27) Accept-Encoding: identity\r\n
382 readline(-1) -> (27) Accept-Encoding: identity\r\n
383 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
383 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
@@ -400,7 +400,7 b' TODO client spews a stack due to uncaugh'
400
400
401 Server sends incomplete headers for getbundle response
401 Server sends incomplete headers for getbundle response
402
402
403 $ hg serve --config badserver.closeaftersendbytes=907 -p $HGPORT -d --pid-file=hg.pid -E error.log
403 $ hg serve --config badserver.closeaftersendbytes=926 -p $HGPORT -d --pid-file=hg.pid -E error.log
404 $ cat hg.pid > $DAEMON_PIDS
404 $ cat hg.pid > $DAEMON_PIDS
405
405
406 TODO this output is terrible
406 TODO this output is terrible
@@ -423,13 +423,13 b' TODO this output is terrible'
423 readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
423 readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
424 readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
424 readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
425 readline(-1) -> (2) \r\n
425 readline(-1) -> (2) \r\n
426 write(36 from 36) -> (871) HTTP/1.1 200 Script output follows\r\n
426 write(36 from 36) -> (890) HTTP/1.1 200 Script output follows\r\n
427 write(23 from 23) -> (848) Server: badhttpserver\r\n
427 write(23 from 23) -> (867) Server: badhttpserver\r\n
428 write(37 from 37) -> (811) Date: $HTTP_DATE$\r\n
428 write(37 from 37) -> (830) Date: $HTTP_DATE$\r\n
429 write(41 from 41) -> (770) Content-Type: application/mercurial-0.1\r\n
429 write(41 from 41) -> (789) Content-Type: application/mercurial-0.1\r\n
430 write(21 from 21) -> (749) Content-Length: 417\r\n
430 write(21 from 21) -> (768) Content-Length: 436\r\n
431 write(2 from 2) -> (747) \r\n
431 write(2 from 2) -> (766) \r\n
432 write(417 from 417) -> (330) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
432 write(436 from 436) -> (330) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
433 readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
433 readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
434 readline(-1) -> (27) Accept-Encoding: identity\r\n
434 readline(-1) -> (27) Accept-Encoding: identity\r\n
435 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
435 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
@@ -449,7 +449,7 b' TODO this output is terrible'
449 readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n
449 readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n
450 readline(-1) -> (27) Accept-Encoding: identity\r\n
450 readline(-1) -> (27) Accept-Encoding: identity\r\n
451 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
451 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
452 readline(-1) -> (440) x-hgarg-1: bookmarks=1&bundlecaps=HG20%2Cbundle2%3DHG20%250Abookmarks%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps%250Astream%253Dv2&cg=1&common=0000000000000000000000000000000000000000&heads=96ee1d7354c4ad7372047672c36a1f561e3a6a4c&listkeys=phases%2Cbookmarks\r\n
452 readline(-1) -> (461) x-hgarg-1: bookmarks=1&bundlecaps=HG20%2Cbundle2%3DHG20%250Abookmarks%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps%250Arev-branch-cache%250Astream%253Dv2&cg=1&common=0000000000000000000000000000000000000000&heads=96ee1d7354c4ad7372047672c36a1f561e3a6a4c&listkeys=phases%2Cbookmarks\r\n
453 readline(-1) -> (48) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n
453 readline(-1) -> (48) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n
454 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
454 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
455 readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
455 readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
@@ -466,7 +466,7 b' TODO this output is terrible'
466
466
467 Server sends empty HTTP body for getbundle
467 Server sends empty HTTP body for getbundle
468
468
469 $ hg serve --config badserver.closeaftersendbytes=945 -p $HGPORT -d --pid-file=hg.pid -E error.log
469 $ hg serve --config badserver.closeaftersendbytes=964 -p $HGPORT -d --pid-file=hg.pid -E error.log
470 $ cat hg.pid > $DAEMON_PIDS
470 $ cat hg.pid > $DAEMON_PIDS
471
471
472 $ hg clone http://localhost:$HGPORT/ clone
472 $ hg clone http://localhost:$HGPORT/ clone
@@ -484,13 +484,13 b' Server sends empty HTTP body for getbund'
484 readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
484 readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
485 readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
485 readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
486 readline(-1) -> (2) \r\n
486 readline(-1) -> (2) \r\n
487 write(36 from 36) -> (909) HTTP/1.1 200 Script output follows\r\n
487 write(36 from 36) -> (928) HTTP/1.1 200 Script output follows\r\n
488 write(23 from 23) -> (886) Server: badhttpserver\r\n
488 write(23 from 23) -> (905) Server: badhttpserver\r\n
489 write(37 from 37) -> (849) Date: $HTTP_DATE$\r\n
489 write(37 from 37) -> (868) Date: $HTTP_DATE$\r\n
490 write(41 from 41) -> (808) Content-Type: application/mercurial-0.1\r\n
490 write(41 from 41) -> (827) Content-Type: application/mercurial-0.1\r\n
491 write(21 from 21) -> (787) Content-Length: 417\r\n
491 write(21 from 21) -> (806) Content-Length: 436\r\n
492 write(2 from 2) -> (785) \r\n
492 write(2 from 2) -> (804) \r\n
493 write(417 from 417) -> (368) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
493 write(436 from 436) -> (368) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
494 readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
494 readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
495 readline(-1) -> (27) Accept-Encoding: identity\r\n
495 readline(-1) -> (27) Accept-Encoding: identity\r\n
496 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
496 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
@@ -510,7 +510,7 b' Server sends empty HTTP body for getbund'
510 readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n
510 readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n
511 readline(-1) -> (27) Accept-Encoding: identity\r\n
511 readline(-1) -> (27) Accept-Encoding: identity\r\n
512 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
512 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
513 readline(-1) -> (440) x-hgarg-1: bookmarks=1&bundlecaps=HG20%2Cbundle2%3DHG20%250Abookmarks%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps%250Astream%253Dv2&cg=1&common=0000000000000000000000000000000000000000&heads=96ee1d7354c4ad7372047672c36a1f561e3a6a4c&listkeys=phases%2Cbookmarks\r\n
513 readline(-1) -> (461) x-hgarg-1: bookmarks=1&bundlecaps=HG20%2Cbundle2%3DHG20%250Abookmarks%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps%250Arev-branch-cache%250Astream%253Dv2&cg=1&common=0000000000000000000000000000000000000000&heads=96ee1d7354c4ad7372047672c36a1f561e3a6a4c&listkeys=phases%2Cbookmarks\r\n
514 readline(-1) -> (48) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n
514 readline(-1) -> (48) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n
515 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
515 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
516 readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
516 readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
@@ -529,7 +529,7 b' Server sends empty HTTP body for getbund'
529
529
530 Server sends partial compression string
530 Server sends partial compression string
531
531
532 $ hg serve --config badserver.closeaftersendbytes=969 -p $HGPORT -d --pid-file=hg.pid -E error.log
532 $ hg serve --config badserver.closeaftersendbytes=988 -p $HGPORT -d --pid-file=hg.pid -E error.log
533 $ cat hg.pid > $DAEMON_PIDS
533 $ cat hg.pid > $DAEMON_PIDS
534
534
535 $ hg clone http://localhost:$HGPORT/ clone
535 $ hg clone http://localhost:$HGPORT/ clone
@@ -547,13 +547,13 b' Server sends partial compression string'
547 readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
547 readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
548 readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
548 readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n
549 readline(-1) -> (2) \r\n
549 readline(-1) -> (2) \r\n
550 write(36 from 36) -> (933) HTTP/1.1 200 Script output follows\r\n
550 write(36 from 36) -> (952) HTTP/1.1 200 Script output follows\r\n
551 write(23 from 23) -> (910) Server: badhttpserver\r\n
551 write(23 from 23) -> (929) Server: badhttpserver\r\n
552 write(37 from 37) -> (873) Date: $HTTP_DATE$\r\n
552 write(37 from 37) -> (892) Date: $HTTP_DATE$\r\n
553 write(41 from 41) -> (832) Content-Type: application/mercurial-0.1\r\n
553 write(41 from 41) -> (851) Content-Type: application/mercurial-0.1\r\n
554 write(21 from 21) -> (811) Content-Length: 417\r\n
554 write(21 from 21) -> (830) Content-Length: 436\r\n
555 write(2 from 2) -> (809) \r\n
555 write(2 from 2) -> (828) \r\n
556 write(417 from 417) -> (392) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
556 write(436 from 436) -> (392) lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx compression=none
557 readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
557 readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n
558 readline(-1) -> (27) Accept-Encoding: identity\r\n
558 readline(-1) -> (27) Accept-Encoding: identity\r\n
559 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
559 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
@@ -573,7 +573,7 b' Server sends partial compression string'
573 readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n
573 readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n
574 readline(-1) -> (27) Accept-Encoding: identity\r\n
574 readline(-1) -> (27) Accept-Encoding: identity\r\n
575 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
575 readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n
576 readline(-1) -> (440) x-hgarg-1: bookmarks=1&bundlecaps=HG20%2Cbundle2%3DHG20%250Abookmarks%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps%250Astream%253Dv2&cg=1&common=0000000000000000000000000000000000000000&heads=96ee1d7354c4ad7372047672c36a1f561e3a6a4c&listkeys=phases%2Cbookmarks\r\n
576 readline(-1) -> (461) x-hgarg-1: bookmarks=1&bundlecaps=HG20%2Cbundle2%3DHG20%250Abookmarks%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps%250Arev-branch-cache%250Astream%253Dv2&cg=1&common=0000000000000000000000000000000000000000&heads=96ee1d7354c4ad7372047672c36a1f561e3a6a4c&listkeys=phases%2Cbookmarks\r\n
577 readline(-1) -> (48) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n
577 readline(-1) -> (48) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n
578 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
578 readline(-1) -> (35) accept: application/mercurial-0.1\r\n
579 readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
579 readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob)
@@ -595,7 +595,7 b' Server sends partial compression string'
595
595
596 Server sends partial bundle2 header magic
596 Server sends partial bundle2 header magic
597
597
598 $ hg serve --config badserver.closeaftersendbytes=966 -p $HGPORT -d --pid-file=hg.pid -E error.log
598 $ hg serve --config badserver.closeaftersendbytes=985 -p $HGPORT -d --pid-file=hg.pid -E error.log
599 $ cat hg.pid > $DAEMON_PIDS
599 $ cat hg.pid > $DAEMON_PIDS
600
600
601 $ hg clone http://localhost:$HGPORT/ clone
601 $ hg clone http://localhost:$HGPORT/ clone
@@ -619,7 +619,7 b' Server sends partial bundle2 header magi'
619
619
620 Server sends incomplete bundle2 stream params length
620 Server sends incomplete bundle2 stream params length
621
621
622 $ hg serve --config badserver.closeaftersendbytes=975 -p $HGPORT -d --pid-file=hg.pid -E error.log
622 $ hg serve --config badserver.closeaftersendbytes=994 -p $HGPORT -d --pid-file=hg.pid -E error.log
623 $ cat hg.pid > $DAEMON_PIDS
623 $ cat hg.pid > $DAEMON_PIDS
624
624
625 $ hg clone http://localhost:$HGPORT/ clone
625 $ hg clone http://localhost:$HGPORT/ clone
@@ -644,7 +644,7 b' Server sends incomplete bundle2 stream p'
644
644
645 Servers stops after bundle2 stream params header
645 Servers stops after bundle2 stream params header
646
646
647 $ hg serve --config badserver.closeaftersendbytes=978 -p $HGPORT -d --pid-file=hg.pid -E error.log
647 $ hg serve --config badserver.closeaftersendbytes=997 -p $HGPORT -d --pid-file=hg.pid -E error.log
648 $ cat hg.pid > $DAEMON_PIDS
648 $ cat hg.pid > $DAEMON_PIDS
649
649
650 $ hg clone http://localhost:$HGPORT/ clone
650 $ hg clone http://localhost:$HGPORT/ clone
@@ -669,7 +669,7 b' Servers stops after bundle2 stream param'
669
669
670 Server stops sending after bundle2 part header length
670 Server stops sending after bundle2 part header length
671
671
672 $ hg serve --config badserver.closeaftersendbytes=987 -p $HGPORT -d --pid-file=hg.pid -E error.log
672 $ hg serve --config badserver.closeaftersendbytes=1006 -p $HGPORT -d --pid-file=hg.pid -E error.log
673 $ cat hg.pid > $DAEMON_PIDS
673 $ cat hg.pid > $DAEMON_PIDS
674
674
675 $ hg clone http://localhost:$HGPORT/ clone
675 $ hg clone http://localhost:$HGPORT/ clone
@@ -695,7 +695,7 b' Server stops sending after bundle2 part '
695
695
696 Server stops sending after bundle2 part header
696 Server stops sending after bundle2 part header
697
697
698 $ hg serve --config badserver.closeaftersendbytes=1034 -p $HGPORT -d --pid-file=hg.pid -E error.log
698 $ hg serve --config badserver.closeaftersendbytes=1053 -p $HGPORT -d --pid-file=hg.pid -E error.log
699 $ cat hg.pid > $DAEMON_PIDS
699 $ cat hg.pid > $DAEMON_PIDS
700
700
701 $ hg clone http://localhost:$HGPORT/ clone
701 $ hg clone http://localhost:$HGPORT/ clone
@@ -725,7 +725,7 b' Server stops sending after bundle2 part '
725
725
726 Server stops after bundle2 part payload chunk size
726 Server stops after bundle2 part payload chunk size
727
727
728 $ hg serve --config badserver.closeaftersendbytes=1055 -p $HGPORT -d --pid-file=hg.pid -E error.log
728 $ hg serve --config badserver.closeaftersendbytes=1074 -p $HGPORT -d --pid-file=hg.pid -E error.log
729 $ cat hg.pid > $DAEMON_PIDS
729 $ cat hg.pid > $DAEMON_PIDS
730
730
731 $ hg clone http://localhost:$HGPORT/ clone
731 $ hg clone http://localhost:$HGPORT/ clone
@@ -756,7 +756,7 b' Server stops after bundle2 part payload '
756
756
757 Server stops sending in middle of bundle2 payload chunk
757 Server stops sending in middle of bundle2 payload chunk
758
758
759 $ hg serve --config badserver.closeaftersendbytes=1516 -p $HGPORT -d --pid-file=hg.pid -E error.log
759 $ hg serve --config badserver.closeaftersendbytes=1535 -p $HGPORT -d --pid-file=hg.pid -E error.log
760 $ cat hg.pid > $DAEMON_PIDS
760 $ cat hg.pid > $DAEMON_PIDS
761
761
762 $ hg clone http://localhost:$HGPORT/ clone
762 $ hg clone http://localhost:$HGPORT/ clone
@@ -788,7 +788,7 b' Server stops sending in middle of bundle'
788
788
789 Server stops sending after 0 length payload chunk size
789 Server stops sending after 0 length payload chunk size
790
790
791 $ hg serve --config badserver.closeaftersendbytes=1547 -p $HGPORT -d --pid-file=hg.pid -E error.log
791 $ hg serve --config badserver.closeaftersendbytes=1566 -p $HGPORT -d --pid-file=hg.pid -E error.log
792 $ cat hg.pid > $DAEMON_PIDS
792 $ cat hg.pid > $DAEMON_PIDS
793
793
794 $ hg clone http://localhost:$HGPORT/ clone
794 $ hg clone http://localhost:$HGPORT/ clone
@@ -825,7 +825,8 b' Server stops sending after 0 length payl'
825 Server stops sending after 0 part bundle part header (indicating end of bundle2 payload)
825 Server stops sending after 0 part bundle part header (indicating end of bundle2 payload)
826 This is before the 0 size chunked transfer part that signals end of HTTP response.
826 This is before the 0 size chunked transfer part that signals end of HTTP response.
827
827
828 $ hg serve --config badserver.closeaftersendbytes=1722 -p $HGPORT -d --pid-file=hg.pid -E error.log
828 # $ hg serve --config badserver.closeaftersendbytes=1741 -p $HGPORT -d --pid-file=hg.pid -E error.log
829 $ hg serve --config badserver.closeaftersendbytes=1848 -p $HGPORT -d --pid-file=hg.pid -E error.log
829 $ cat hg.pid > $DAEMON_PIDS
830 $ cat hg.pid > $DAEMON_PIDS
830
831
831 $ hg clone http://localhost:$HGPORT/ clone
832 $ hg clone http://localhost:$HGPORT/ clone
@@ -841,24 +842,24 b' This is before the 0 size chunked transf'
841 $ killdaemons.py $DAEMON_PIDS
842 $ killdaemons.py $DAEMON_PIDS
842
843
843 $ tail -22 error.log
844 $ tail -22 error.log
844 write(28 from 28) -> (779) Transfer-Encoding: chunked\r\n
845 write(9 from 9) -> (851) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
845 write(2 from 2) -> (777) \r\n
846 write(9 from 9) -> (842) 4\\r\\n\x00\x00\x00)\\r\\n (esc)
846 write(6 from 6) -> (771) 1\\r\\n\x04\\r\\n (esc)
847 write(47 from 47) -> (795) 29\\r\\n\x0bCHANGEGROUP\x00\x00\x00\x00\x01\x01\x07\x02 \x01version02nbchanges1\\r\\n (esc)
847 write(9 from 9) -> (762) 4\r\nnone\r\n
848 write(9 from 9) -> (786) 4\\r\\n\x00\x00\x01\xd2\\r\\n (esc)
848 write(9 from 9) -> (753) 4\r\nHG20\r\n
849 write(473 from 473) -> (313) 1d2\\r\\n\x00\x00\x00\xb2\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00>6a3df4de388f3c4f8e28f4f9a814299a3cbb5f50\\ntest\\n0 0\\nfoo\\n\\ninitial\x00\x00\x00\x00\x00\x00\x00\xa1j=\xf4\xde8\x8f<O\x8e(\xf4\xf9\xa8\x14)\x9a<\xbb_P\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00-foo\x00b80de5d138758541c5f05265ad144ab9fa86d1db\\n\x00\x00\x00\x00\x00\x00\x00\x07foo\x00\x00\x00h\xb8\\r\xe5\xd18u\x85A\xc5\xf0Re\xad\x14J\xb9\xfa\x86\xd1\xdb\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\x00\x00\x00\x00\x00\x00\x00\x00\\r\\n (esc)
849 write(9 from 9) -> (744) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
850 write(9 from 9) -> (304) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
850 write(9 from 9) -> (735) 4\\r\\n\x00\x00\x00)\\r\\n (esc)
851 write(9 from 9) -> (295) 4\\r\\n\x00\x00\x00 \\r\\n (esc)
851 write(47 from 47) -> (688) 29\\r\\n\x0bCHANGEGROUP\x00\x00\x00\x00\x01\x01\x07\x02 \x01version02nbchanges1\\r\\n (esc)
852 write(38 from 38) -> (257) 20\\r\\n\x08LISTKEYS\x00\x00\x00\x01\x01\x00 \x06namespacephases\\r\\n (esc)
852 write(9 from 9) -> (679) 4\\r\\n\x00\x00\x01\xd2\\r\\n (esc)
853 write(9 from 9) -> (248) 4\\r\\n\x00\x00\x00:\\r\\n (esc)
853 write(473 from 473) -> (206) 1d2\\r\\n\x00\x00\x00\xb2\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00>6a3df4de388f3c4f8e28f4f9a814299a3cbb5f50\\ntest\\n0 0\\nfoo\\n\\ninitial\x00\x00\x00\x00\x00\x00\x00\xa1j=\xf4\xde8\x8f<O\x8e(\xf4\xf9\xa8\x14)\x9a<\xbb_P\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00-foo\x00b80de5d138758541c5f05265ad144ab9fa86d1db\\n\x00\x00\x00\x00\x00\x00\x00\x07foo\x00\x00\x00h\xb8\\r\xe5\xd18u\x85A\xc5\xf0Re\xad\x14J\xb9\xfa\x86\xd1\xdb\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\x00\x00\x00\x00\x00\x00\x00\x00\\r\\n (esc)
854 write(64 from 64) -> (184) 3a\r\n96ee1d7354c4ad7372047672c36a1f561e3a6a4c 1\npublishing True\r\n
854 write(9 from 9) -> (197) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
855 write(9 from 9) -> (175) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
855 write(9 from 9) -> (188) 4\\r\\n\x00\x00\x00 \\r\\n (esc)
856 write(9 from 9) -> (166) 4\\r\\n\x00\x00\x00#\\r\\n (esc)
856 write(38 from 38) -> (150) 20\\r\\n\x08LISTKEYS\x00\x00\x00\x01\x01\x00 \x06namespacephases\\r\\n (esc)
857 write(41 from 41) -> (125) 23\\r\\n\x08LISTKEYS\x00\x00\x00\x02\x01\x00 namespacebookmarks\\r\\n (esc)
857 write(9 from 9) -> (141) 4\\r\\n\x00\x00\x00:\\r\\n (esc)
858 write(9 from 9) -> (116) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
858 write(64 from 64) -> (77) 3a\r\n96ee1d7354c4ad7372047672c36a1f561e3a6a4c 1\npublishing True\r\n
859 write(9 from 9) -> (107) 4\\r\\n\x00\x00\x00\x1d\\r\\n (esc)
859 write(9 from 9) -> (68) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
860 write(35 from 35) -> (72) 1d\\r\\n\x16CACHE:REV-BRANCH-CACHE\x00\x00\x00\x03\x00\x00\\r\\n (esc)
860 write(9 from 9) -> (59) 4\\r\\n\x00\x00\x00#\\r\\n (esc)
861 write(9 from 9) -> (63) 4\\r\\n\x00\x00\x00'\\r\\n (esc)
861 write(41 from 41) -> (18) 23\\r\\n\x08LISTKEYS\x00\x00\x00\x02\x01\x00 namespacebookmarks\\r\\n (esc)
862 write(45 from 45) -> (18) 27\\r\\n\x00\x00\x00\x07\x00\x00\x00\x01\x00\x00\x00\x00default\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\\r\\n (esc)
862 write(9 from 9) -> (9) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
863 write(9 from 9) -> (9) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
863 write(9 from 9) -> (0) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
864 write(9 from 9) -> (0) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
864 write limit reached; closing socket
865 write limit reached; closing socket
@@ -869,7 +870,7 b' This is before the 0 size chunked transf'
869
870
870 Server sends a size 0 chunked-transfer size without terminating \r\n
871 Server sends a size 0 chunked-transfer size without terminating \r\n
871
872
872 $ hg serve --config badserver.closeaftersendbytes=1725 -p $HGPORT -d --pid-file=hg.pid -E error.log
873 $ hg serve --config badserver.closeaftersendbytes=1851 -p $HGPORT -d --pid-file=hg.pid -E error.log
873 $ cat hg.pid > $DAEMON_PIDS
874 $ cat hg.pid > $DAEMON_PIDS
874
875
875 $ hg clone http://localhost:$HGPORT/ clone
876 $ hg clone http://localhost:$HGPORT/ clone
@@ -885,24 +886,24 b' Server sends a size 0 chunked-transfer s'
885 $ killdaemons.py $DAEMON_PIDS
886 $ killdaemons.py $DAEMON_PIDS
886
887
887 $ tail -23 error.log
888 $ tail -23 error.log
888 write(28 from 28) -> (782) Transfer-Encoding: chunked\r\n
889 write(9 from 9) -> (854) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
889 write(2 from 2) -> (780) \r\n
890 write(9 from 9) -> (845) 4\\r\\n\x00\x00\x00)\\r\\n (esc)
890 write(6 from 6) -> (774) 1\\r\\n\x04\\r\\n (esc)
891 write(47 from 47) -> (798) 29\\r\\n\x0bCHANGEGROUP\x00\x00\x00\x00\x01\x01\x07\x02 \x01version02nbchanges1\\r\\n (esc)
891 write(9 from 9) -> (765) 4\r\nnone\r\n
892 write(9 from 9) -> (789) 4\\r\\n\x00\x00\x01\xd2\\r\\n (esc)
892 write(9 from 9) -> (756) 4\r\nHG20\r\n
893 write(473 from 473) -> (316) 1d2\\r\\n\x00\x00\x00\xb2\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00>6a3df4de388f3c4f8e28f4f9a814299a3cbb5f50\\ntest\\n0 0\\nfoo\\n\\ninitial\x00\x00\x00\x00\x00\x00\x00\xa1j=\xf4\xde8\x8f<O\x8e(\xf4\xf9\xa8\x14)\x9a<\xbb_P\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00-foo\x00b80de5d138758541c5f05265ad144ab9fa86d1db\\n\x00\x00\x00\x00\x00\x00\x00\x07foo\x00\x00\x00h\xb8\\r\xe5\xd18u\x85A\xc5\xf0Re\xad\x14J\xb9\xfa\x86\xd1\xdb\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\x00\x00\x00\x00\x00\x00\x00\x00\\r\\n (esc)
893 write(9 from 9) -> (747) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
894 write(9 from 9) -> (307) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
894 write(9 from 9) -> (738) 4\\r\\n\x00\x00\x00)\\r\\n (esc)
895 write(9 from 9) -> (298) 4\\r\\n\x00\x00\x00 \\r\\n (esc)
895 write(47 from 47) -> (691) 29\\r\\n\x0bCHANGEGROUP\x00\x00\x00\x00\x01\x01\x07\x02 \x01version02nbchanges1\\r\\n (esc)
896 write(38 from 38) -> (260) 20\\r\\n\x08LISTKEYS\x00\x00\x00\x01\x01\x00 \x06namespacephases\\r\\n (esc)
896 write(9 from 9) -> (682) 4\\r\\n\x00\x00\x01\xd2\\r\\n (esc)
897 write(9 from 9) -> (251) 4\\r\\n\x00\x00\x00:\\r\\n (esc)
897 write(473 from 473) -> (209) 1d2\\r\\n\x00\x00\x00\xb2\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00>6a3df4de388f3c4f8e28f4f9a814299a3cbb5f50\\ntest\\n0 0\\nfoo\\n\\ninitial\x00\x00\x00\x00\x00\x00\x00\xa1j=\xf4\xde8\x8f<O\x8e(\xf4\xf9\xa8\x14)\x9a<\xbb_P\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00-foo\x00b80de5d138758541c5f05265ad144ab9fa86d1db\\n\x00\x00\x00\x00\x00\x00\x00\x07foo\x00\x00\x00h\xb8\\r\xe5\xd18u\x85A\xc5\xf0Re\xad\x14J\xb9\xfa\x86\xd1\xdb\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\x00\x00\x00\x00\x00\x00\x00\x00\\r\\n (esc)
898 write(64 from 64) -> (187) 3a\r\n96ee1d7354c4ad7372047672c36a1f561e3a6a4c 1\npublishing True\r\n
898 write(9 from 9) -> (200) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
899 write(9 from 9) -> (178) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
899 write(9 from 9) -> (191) 4\\r\\n\x00\x00\x00 \\r\\n (esc)
900 write(9 from 9) -> (169) 4\\r\\n\x00\x00\x00#\\r\\n (esc)
900 write(38 from 38) -> (153) 20\\r\\n\x08LISTKEYS\x00\x00\x00\x01\x01\x00 \x06namespacephases\\r\\n (esc)
901 write(41 from 41) -> (128) 23\\r\\n\x08LISTKEYS\x00\x00\x00\x02\x01\x00 namespacebookmarks\\r\\n (esc)
901 write(9 from 9) -> (144) 4\\r\\n\x00\x00\x00:\\r\\n (esc)
902 write(9 from 9) -> (119) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
902 write(64 from 64) -> (80) 3a\r\n96ee1d7354c4ad7372047672c36a1f561e3a6a4c 1\npublishing True\r\n
903 write(9 from 9) -> (110) 4\\r\\n\x00\x00\x00\x1d\\r\\n (esc)
903 write(9 from 9) -> (71) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
904 write(35 from 35) -> (75) 1d\\r\\n\x16CACHE:REV-BRANCH-CACHE\x00\x00\x00\x03\x00\x00\\r\\n (esc)
904 write(9 from 9) -> (62) 4\\r\\n\x00\x00\x00#\\r\\n (esc)
905 write(9 from 9) -> (66) 4\\r\\n\x00\x00\x00'\\r\\n (esc)
905 write(41 from 41) -> (21) 23\\r\\n\x08LISTKEYS\x00\x00\x00\x02\x01\x00 namespacebookmarks\\r\\n (esc)
906 write(45 from 45) -> (21) 27\\r\\n\x00\x00\x00\x07\x00\x00\x00\x01\x00\x00\x00\x00default\x96\xee\x1dsT\xc4\xadsr\x04vr\xc3j\x1fV\x1e:jL\\r\\n (esc)
906 write(9 from 9) -> (12) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
907 write(9 from 9) -> (12) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
907 write(9 from 9) -> (3) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
908 write(9 from 9) -> (3) 4\\r\\n\x00\x00\x00\x00\\r\\n (esc)
908 write(3 from 5) -> (0) 0\r\n
909 write(3 from 5) -> (0) 0\r\n
@@ -307,20 +307,20 b' test http authentication'
307 list of changesets:
307 list of changesets:
308 7f4e523d01f2cc3765ac8934da3d14db775ff872
308 7f4e523d01f2cc3765ac8934da3d14db775ff872
309 bundle2-output-bundle: "HG20", 5 parts total
309 bundle2-output-bundle: "HG20", 5 parts total
310 bundle2-output-part: "replycaps" 188 bytes payload
310 bundle2-output-part: "replycaps" 205 bytes payload
311 bundle2-output-part: "check:phases" 24 bytes payload
311 bundle2-output-part: "check:phases" 24 bytes payload
312 bundle2-output-part: "check:heads" streamed payload
312 bundle2-output-part: "check:heads" streamed payload
313 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
313 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
314 bundle2-output-part: "phase-heads" 24 bytes payload
314 bundle2-output-part: "phase-heads" 24 bytes payload
315 sending unbundle command
315 sending unbundle command
316 sending 996 bytes
316 sending 1013 bytes
317 devel-peer-request: POST http://localhost:$HGPORT2/?cmd=unbundle
317 devel-peer-request: POST http://localhost:$HGPORT2/?cmd=unbundle
318 devel-peer-request: Content-length 996
318 devel-peer-request: Content-length 1013
319 devel-peer-request: Content-type application/mercurial-0.1
319 devel-peer-request: Content-type application/mercurial-0.1
320 devel-peer-request: Vary X-HgArg-1,X-HgProto-1
320 devel-peer-request: Vary X-HgArg-1,X-HgProto-1
321 devel-peer-request: X-hgproto-1 0.1 0.2 comp=$USUAL_COMPRESSIONS$
321 devel-peer-request: X-hgproto-1 0.1 0.2 comp=$USUAL_COMPRESSIONS$
322 devel-peer-request: 16 bytes of commands arguments in headers
322 devel-peer-request: 16 bytes of commands arguments in headers
323 devel-peer-request: 996 bytes of data
323 devel-peer-request: 1013 bytes of data
324 devel-peer-request: finished in *.???? seconds (200) (glob)
324 devel-peer-request: finished in *.???? seconds (200) (glob)
325 bundle2-input-bundle: no-transaction
325 bundle2-input-bundle: no-transaction
326 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
326 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
@@ -155,10 +155,11 b' client only pulls down 1 changeset'
155 list of changesets:
155 list of changesets:
156 bec0734cd68e84477ba7fc1d13e6cff53ab70129
156 bec0734cd68e84477ba7fc1d13e6cff53ab70129
157 listing keys for "bookmarks"
157 listing keys for "bookmarks"
158 bundle2-output-bundle: "HG20", 3 parts total
158 bundle2-output-bundle: "HG20", 4 parts total
159 bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload
159 bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload
160 bundle2-output-part: "listkeys" (params: 1 mandatory) empty payload
160 bundle2-output-part: "listkeys" (params: 1 mandatory) empty payload
161 bundle2-output-part: "phase-heads" 24 bytes payload
161 bundle2-output-part: "phase-heads" 24 bytes payload
162 bundle2-output-part: "cache:rev-branch-cache" streamed payload
162 bundle2-input-bundle: with-transaction
163 bundle2-input-bundle: with-transaction
163 bundle2-input-part: "changegroup" (params: 1 mandatory 1 advisory) supported
164 bundle2-input-part: "changegroup" (params: 1 mandatory 1 advisory) supported
164 adding changesets
165 adding changesets
@@ -171,7 +172,9 b' client only pulls down 1 changeset'
171 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
172 bundle2-input-part: "listkeys" (params: 1 mandatory) supported
172 bundle2-input-part: "phase-heads" supported
173 bundle2-input-part: "phase-heads" supported
173 bundle2-input-part: total payload size 24
174 bundle2-input-part: total payload size 24
174 bundle2-input-bundle: 2 parts total
175 bundle2-input-part: "cache:rev-branch-cache" supported
176 bundle2-input-part: total payload size 39
177 bundle2-input-bundle: 3 parts total
175 checking for updated bookmarks
178 checking for updated bookmarks
176 updating the branch cache
179 updating the branch cache
177 new changesets bec0734cd68e
180 new changesets bec0734cd68e
@@ -325,13 +325,13 b' Check that the right ancestors is used w'
325 bundle2-input-part: total payload size 1686
325 bundle2-input-part: total payload size 1686
326 bundle2-input-part: "cache:rev-branch-cache" supported
326 bundle2-input-part: "cache:rev-branch-cache" supported
327 bundle2-input-part: total payload size 74
327 bundle2-input-part: total payload size 74
328 truncating cache/rbc-revs-v1 to 56
328 bundle2-input-part: "phase-heads" supported
329 bundle2-input-part: "phase-heads" supported
329 bundle2-input-part: total payload size 24
330 bundle2-input-part: total payload size 24
330 bundle2-input-bundle: 2 parts total
331 bundle2-input-bundle: 2 parts total
331 updating the branch cache
332 updating the branch cache
332 invalid branchheads cache (served): tip differs
333 invalid branchheads cache (served): tip differs
333 rebase completed
334 rebase completed
334 truncating cache/rbc-revs-v1 to 0
335
335
336 Test minimization of merge conflicts
336 Test minimization of merge conflicts
337 $ hg up -q null
337 $ hg up -q null
@@ -478,9 +478,9 b' debug output'
478 sending upgrade request: * proto=exp-ssh-v2-0001 (glob) (sshv2 !)
478 sending upgrade request: * proto=exp-ssh-v2-0001 (glob) (sshv2 !)
479 sending hello command
479 sending hello command
480 sending between command
480 sending between command
481 remote: 403 (sshv1 !)
481 protocol upgraded to exp-ssh-v2-0001 (sshv2 !)
482 protocol upgraded to exp-ssh-v2-0001 (sshv2 !)
482 remote: 384 (sshv1 !)
483 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN (sshv2 !)
483 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
484 remote: 1 (sshv1 !)
484 remote: 1 (sshv1 !)
485 preparing listkeys for "bookmarks"
485 preparing listkeys for "bookmarks"
486 sending listkeys command
486 sending listkeys command
@@ -56,8 +56,8 b' Test pushing bundle1 payload to a server'
56 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
56 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
57 i> flush() -> None
57 i> flush() -> None
58 o> readline() -> 4:
58 o> readline() -> 4:
59 o> 384\n
59 o> 403\n
60 o> readline() -> 384:
60 o> readline() -> 403:
61 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
61 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
62 o> readline() -> 2:
62 o> readline() -> 2:
63 o> 1\n
63 o> 1\n
@@ -110,8 +110,8 b' Test pushing bundle1 payload to a server'
110 o> readline() -> 62:
110 o> readline() -> 62:
111 o> upgraded * exp-ssh-v2-0001\n (glob)
111 o> upgraded * exp-ssh-v2-0001\n (glob)
112 o> readline() -> 4:
112 o> readline() -> 4:
113 o> 383\n
113 o> 402\n
114 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
114 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
115 o> read(1) -> 1:
115 o> read(1) -> 1:
116 o> \n
116 o> \n
117 sending unbundle command
117 sending unbundle command
@@ -225,8 +225,8 b' ui.write() in hook is redirected to stde'
225 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
225 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
226 i> flush() -> None
226 i> flush() -> None
227 o> readline() -> 4:
227 o> readline() -> 4:
228 o> 384\n
228 o> 403\n
229 o> readline() -> 384:
229 o> readline() -> 403:
230 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
230 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
231 o> readline() -> 2:
231 o> readline() -> 2:
232 o> 1\n
232 o> 1\n
@@ -285,8 +285,8 b' ui.write() in hook is redirected to stde'
285 o> readline() -> 62:
285 o> readline() -> 62:
286 o> upgraded * exp-ssh-v2-0001\n (glob)
286 o> upgraded * exp-ssh-v2-0001\n (glob)
287 o> readline() -> 4:
287 o> readline() -> 4:
288 o> 383\n
288 o> 402\n
289 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
289 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
290 o> read(1) -> 1:
290 o> read(1) -> 1:
291 o> \n
291 o> \n
292 sending unbundle command
292 sending unbundle command
@@ -353,8 +353,8 b' And a variation that writes multiple lin'
353 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
353 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
354 i> flush() -> None
354 i> flush() -> None
355 o> readline() -> 4:
355 o> readline() -> 4:
356 o> 384\n
356 o> 403\n
357 o> readline() -> 384:
357 o> readline() -> 403:
358 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
358 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
359 o> readline() -> 2:
359 o> readline() -> 2:
360 o> 1\n
360 o> 1\n
@@ -414,8 +414,8 b' And a variation that writes multiple lin'
414 o> readline() -> 62:
414 o> readline() -> 62:
415 o> upgraded * exp-ssh-v2-0001\n (glob)
415 o> upgraded * exp-ssh-v2-0001\n (glob)
416 o> readline() -> 4:
416 o> readline() -> 4:
417 o> 383\n
417 o> 402\n
418 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
418 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
419 o> read(1) -> 1:
419 o> read(1) -> 1:
420 o> \n
420 o> \n
421 sending unbundle command
421 sending unbundle command
@@ -483,8 +483,8 b' And a variation that does a ui.flush() a'
483 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
483 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
484 i> flush() -> None
484 i> flush() -> None
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 o> readline() -> 2:
489 o> readline() -> 2:
490 o> 1\n
490 o> 1\n
@@ -543,8 +543,8 b' And a variation that does a ui.flush() a'
543 o> readline() -> 62:
543 o> readline() -> 62:
544 o> upgraded * exp-ssh-v2-0001\n (glob)
544 o> upgraded * exp-ssh-v2-0001\n (glob)
545 o> readline() -> 4:
545 o> readline() -> 4:
546 o> 383\n
546 o> 402\n
547 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
547 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
548 o> read(1) -> 1:
548 o> read(1) -> 1:
549 o> \n
549 o> \n
550 sending unbundle command
550 sending unbundle command
@@ -611,8 +611,8 b' Multiple writes + flush'
611 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
611 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
612 i> flush() -> None
612 i> flush() -> None
613 o> readline() -> 4:
613 o> readline() -> 4:
614 o> 384\n
614 o> 403\n
615 o> readline() -> 384:
615 o> readline() -> 403:
616 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
616 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
617 o> readline() -> 2:
617 o> readline() -> 2:
618 o> 1\n
618 o> 1\n
@@ -672,8 +672,8 b' Multiple writes + flush'
672 o> readline() -> 62:
672 o> readline() -> 62:
673 o> upgraded * exp-ssh-v2-0001\n (glob)
673 o> upgraded * exp-ssh-v2-0001\n (glob)
674 o> readline() -> 4:
674 o> readline() -> 4:
675 o> 383\n
675 o> 402\n
676 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
676 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
677 o> read(1) -> 1:
677 o> read(1) -> 1:
678 o> \n
678 o> \n
679 sending unbundle command
679 sending unbundle command
@@ -741,8 +741,8 b' ui.write() + ui.write_err() output is ca'
741 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
741 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
742 i> flush() -> None
742 i> flush() -> None
743 o> readline() -> 4:
743 o> readline() -> 4:
744 o> 384\n
744 o> 403\n
745 o> readline() -> 384:
745 o> readline() -> 403:
746 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
746 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
747 o> readline() -> 2:
747 o> readline() -> 2:
748 o> 1\n
748 o> 1\n
@@ -804,8 +804,8 b' ui.write() + ui.write_err() output is ca'
804 o> readline() -> 62:
804 o> readline() -> 62:
805 o> upgraded * exp-ssh-v2-0001\n (glob)
805 o> upgraded * exp-ssh-v2-0001\n (glob)
806 o> readline() -> 4:
806 o> readline() -> 4:
807 o> 383\n
807 o> 402\n
808 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
808 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
809 o> read(1) -> 1:
809 o> read(1) -> 1:
810 o> \n
810 o> \n
811 sending unbundle command
811 sending unbundle command
@@ -875,8 +875,8 b' print() output is captured'
875 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
875 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
876 i> flush() -> None
876 i> flush() -> None
877 o> readline() -> 4:
877 o> readline() -> 4:
878 o> 384\n
878 o> 403\n
879 o> readline() -> 384:
879 o> readline() -> 403:
880 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
880 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
881 o> readline() -> 2:
881 o> readline() -> 2:
882 o> 1\n
882 o> 1\n
@@ -935,8 +935,8 b' print() output is captured'
935 o> readline() -> 62:
935 o> readline() -> 62:
936 o> upgraded * exp-ssh-v2-0001\n (glob)
936 o> upgraded * exp-ssh-v2-0001\n (glob)
937 o> readline() -> 4:
937 o> readline() -> 4:
938 o> 383\n
938 o> 402\n
939 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
939 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
940 o> read(1) -> 1:
940 o> read(1) -> 1:
941 o> \n
941 o> \n
942 sending unbundle command
942 sending unbundle command
@@ -1003,8 +1003,8 b' Mixed print() and ui.write() are both ca'
1003 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1003 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1004 i> flush() -> None
1004 i> flush() -> None
1005 o> readline() -> 4:
1005 o> readline() -> 4:
1006 o> 384\n
1006 o> 403\n
1007 o> readline() -> 384:
1007 o> readline() -> 403:
1008 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
1008 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
1009 o> readline() -> 2:
1009 o> readline() -> 2:
1010 o> 1\n
1010 o> 1\n
@@ -1066,8 +1066,8 b' Mixed print() and ui.write() are both ca'
1066 o> readline() -> 62:
1066 o> readline() -> 62:
1067 o> upgraded * exp-ssh-v2-0001\n (glob)
1067 o> upgraded * exp-ssh-v2-0001\n (glob)
1068 o> readline() -> 4:
1068 o> readline() -> 4:
1069 o> 383\n
1069 o> 402\n
1070 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
1070 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
1071 o> read(1) -> 1:
1071 o> read(1) -> 1:
1072 o> \n
1072 o> \n
1073 sending unbundle command
1073 sending unbundle command
@@ -1137,8 +1137,8 b' print() to stdout and stderr both get ca'
1137 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1137 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1138 i> flush() -> None
1138 i> flush() -> None
1139 o> readline() -> 4:
1139 o> readline() -> 4:
1140 o> 384\n
1140 o> 403\n
1141 o> readline() -> 384:
1141 o> readline() -> 403:
1142 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
1142 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
1143 o> readline() -> 2:
1143 o> readline() -> 2:
1144 o> 1\n
1144 o> 1\n
@@ -1200,8 +1200,8 b' print() to stdout and stderr both get ca'
1200 o> readline() -> 62:
1200 o> readline() -> 62:
1201 o> upgraded * exp-ssh-v2-0001\n (glob)
1201 o> upgraded * exp-ssh-v2-0001\n (glob)
1202 o> readline() -> 4:
1202 o> readline() -> 4:
1203 o> 383\n
1203 o> 402\n
1204 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
1204 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
1205 o> read(1) -> 1:
1205 o> read(1) -> 1:
1206 o> \n
1206 o> \n
1207 sending unbundle command
1207 sending unbundle command
@@ -1277,8 +1277,8 b' Shell hook writing to stdout has output '
1277 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1277 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1278 i> flush() -> None
1278 i> flush() -> None
1279 o> readline() -> 4:
1279 o> readline() -> 4:
1280 o> 384\n
1280 o> 403\n
1281 o> readline() -> 384:
1281 o> readline() -> 403:
1282 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
1282 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
1283 o> readline() -> 2:
1283 o> readline() -> 2:
1284 o> 1\n
1284 o> 1\n
@@ -1338,8 +1338,8 b' Shell hook writing to stdout has output '
1338 o> readline() -> 62:
1338 o> readline() -> 62:
1339 o> upgraded * exp-ssh-v2-0001\n (glob)
1339 o> upgraded * exp-ssh-v2-0001\n (glob)
1340 o> readline() -> 4:
1340 o> readline() -> 4:
1341 o> 383\n
1341 o> 402\n
1342 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
1342 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
1343 o> read(1) -> 1:
1343 o> read(1) -> 1:
1344 o> \n
1344 o> \n
1345 sending unbundle command
1345 sending unbundle command
@@ -1408,8 +1408,8 b' Shell hook writing to stderr has output '
1408 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1408 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1409 i> flush() -> None
1409 i> flush() -> None
1410 o> readline() -> 4:
1410 o> readline() -> 4:
1411 o> 384\n
1411 o> 403\n
1412 o> readline() -> 384:
1412 o> readline() -> 403:
1413 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
1413 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
1414 o> readline() -> 2:
1414 o> readline() -> 2:
1415 o> 1\n
1415 o> 1\n
@@ -1469,8 +1469,8 b' Shell hook writing to stderr has output '
1469 o> readline() -> 62:
1469 o> readline() -> 62:
1470 o> upgraded * exp-ssh-v2-0001\n (glob)
1470 o> upgraded * exp-ssh-v2-0001\n (glob)
1471 o> readline() -> 4:
1471 o> readline() -> 4:
1472 o> 383\n
1472 o> 402\n
1473 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
1473 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
1474 o> read(1) -> 1:
1474 o> read(1) -> 1:
1475 o> \n
1475 o> \n
1476 sending unbundle command
1476 sending unbundle command
@@ -1541,8 +1541,8 b' Shell hook writing to stdout and stderr '
1541 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1541 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1542 i> flush() -> None
1542 i> flush() -> None
1543 o> readline() -> 4:
1543 o> readline() -> 4:
1544 o> 384\n
1544 o> 403\n
1545 o> readline() -> 384:
1545 o> readline() -> 403:
1546 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
1546 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
1547 o> readline() -> 2:
1547 o> readline() -> 2:
1548 o> 1\n
1548 o> 1\n
@@ -1604,8 +1604,8 b' Shell hook writing to stdout and stderr '
1604 o> readline() -> 62:
1604 o> readline() -> 62:
1605 o> upgraded * exp-ssh-v2-0001\n (glob)
1605 o> upgraded * exp-ssh-v2-0001\n (glob)
1606 o> readline() -> 4:
1606 o> readline() -> 4:
1607 o> 383\n
1607 o> 402\n
1608 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
1608 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
1609 o> read(1) -> 1:
1609 o> read(1) -> 1:
1610 o> \n
1610 o> \n
1611 sending unbundle command
1611 sending unbundle command
@@ -1684,8 +1684,8 b' Shell and Python hooks writing to stdout'
1684 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1684 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1685 i> flush() -> None
1685 i> flush() -> None
1686 o> readline() -> 4:
1686 o> readline() -> 4:
1687 o> 384\n
1687 o> 403\n
1688 o> readline() -> 384:
1688 o> readline() -> 403:
1689 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
1689 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
1690 o> readline() -> 2:
1690 o> readline() -> 2:
1691 o> 1\n
1691 o> 1\n
@@ -1751,8 +1751,8 b' Shell and Python hooks writing to stdout'
1751 o> readline() -> 62:
1751 o> readline() -> 62:
1752 o> upgraded * exp-ssh-v2-0001\n (glob)
1752 o> upgraded * exp-ssh-v2-0001\n (glob)
1753 o> readline() -> 4:
1753 o> readline() -> 4:
1754 o> 383\n
1754 o> 402\n
1755 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
1755 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
1756 o> read(1) -> 1:
1756 o> read(1) -> 1:
1757 o> \n
1757 o> \n
1758 sending unbundle command
1758 sending unbundle command
@@ -1826,8 +1826,8 b' Pushing a bundle1 with no output'
1826 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1826 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1827 i> flush() -> None
1827 i> flush() -> None
1828 o> readline() -> 4:
1828 o> readline() -> 4:
1829 o> 384\n
1829 o> 403\n
1830 o> readline() -> 384:
1830 o> readline() -> 403:
1831 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
1831 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
1832 o> readline() -> 2:
1832 o> readline() -> 2:
1833 o> 1\n
1833 o> 1\n
@@ -1882,8 +1882,8 b' Pushing a bundle1 with no output'
1882 o> readline() -> 62:
1882 o> readline() -> 62:
1883 o> upgraded * exp-ssh-v2-0001\n (glob)
1883 o> upgraded * exp-ssh-v2-0001\n (glob)
1884 o> readline() -> 4:
1884 o> readline() -> 4:
1885 o> 383\n
1885 o> 402\n
1886 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
1886 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
1887 o> read(1) -> 1:
1887 o> read(1) -> 1:
1888 o> \n
1888 o> \n
1889 sending unbundle command
1889 sending unbundle command
@@ -1958,8 +1958,8 b' Pushing a bundle1 with ui.write() and ui'
1958 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1958 i> 0000000000000000000000000000000000000000-0000000000000000000000000000000000000000
1959 i> flush() -> None
1959 i> flush() -> None
1960 o> readline() -> 4:
1960 o> readline() -> 4:
1961 o> 384\n
1961 o> 403\n
1962 o> readline() -> 384:
1962 o> readline() -> 403:
1963 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
1963 o> capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN\n
1964 o> readline() -> 2:
1964 o> readline() -> 2:
1965 o> 1\n
1965 o> 1\n
@@ -2018,8 +2018,8 b' Pushing a bundle1 with ui.write() and ui'
2018 o> readline() -> 62:
2018 o> readline() -> 62:
2019 o> upgraded * exp-ssh-v2-0001\n (glob)
2019 o> upgraded * exp-ssh-v2-0001\n (glob)
2020 o> readline() -> 4:
2020 o> readline() -> 4:
2021 o> 383\n
2021 o> 402\n
2022 o> read(383) -> 383: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
2022 o> read(402) -> 402: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
2023 o> read(1) -> 1:
2023 o> read(1) -> 1:
2024 o> \n
2024 o> \n
2025 sending unbundle command
2025 sending unbundle command
@@ -63,7 +63,7 b' Test a normal behaving server, for sanit'
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
@@ -82,8 +82,8 b' Server should answer the "hello" command'
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
@@ -92,7 +92,7 b' Server should answer the "hello" command'
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
@@ -101,23 +101,23 b' I/O logging works'
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
@@ -143,8 +143,8 b' reply with empty response to the "betwee'
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
@@ -182,7 +182,7 b' SSH banner is not printed by default, ig'
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
@@ -237,8 +237,8 b' And test the banner with the raw protoco'
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
@@ -290,12 +290,12 b' Sending an unknown command to the server'
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
@@ -310,7 +310,7 b' Sending an unknown command to the server'
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
@@ -356,8 +356,8 b' Send multiple unknown commands before he'
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
@@ -382,7 +382,7 b' Send multiple unknown commands before he'
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
@@ -436,8 +436,8 b' Send an unknown command before hello tha'
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
@@ -483,8 +483,8 b' Send an unknown command having an argume'
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
@@ -528,8 +528,8 b' Send an unknown command having an argume'
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
@@ -598,8 +598,8 b' Dictionary value for unknown command'
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
@@ -680,8 +680,8 b' Send a command line with spaces'
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
@@ -714,8 +714,8 b' Send a command line with spaces'
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
@@ -757,8 +757,8 b' Send a command line with spaces'
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
@@ -768,7 +768,6 b' Send a command line with spaces'
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
@@ -787,8 +786,8 b' Send an unknown command after the "betwe'
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
@@ -828,8 +827,8 b' And one with arguments'
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
@@ -877,8 +876,8 b' Send a valid command before the handshak'
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
@@ -904,7 +903,7 b" And a variation that doesn't send the be"
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
@@ -933,8 +932,8 b' Send an upgrade request to a server that'
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
@@ -953,7 +952,7 b' Send an upgrade request to a server that'
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
@@ -993,8 +992,8 b' Send an upgrade request to a server that'
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 ..
@@ -1062,6 +1061,7 b' Verify the peer has capabilities'
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
@@ -1092,14 +1092,14 b' Command after upgrade to version 2 is pr'
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
@@ -1130,8 +1130,8 b' Multiple upgrades is not allowed'
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
@@ -1203,8 +1203,8 b' Upgrade request to unsupported protocol '
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
@@ -1323,8 +1323,8 b' Test listkeys for listing namespaces'
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
@@ -1357,8 +1357,8 b' Test listkeys for listing namespaces'
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
@@ -1403,8 +1403,8 b' With no bookmarks set'
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
@@ -1433,8 +1433,8 b' With no bookmarks set'
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
@@ -1464,8 +1464,8 b' With a single bookmark set'
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
@@ -1495,8 +1495,8 b' With a single bookmark set'
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
@@ -1527,8 +1527,8 b' With multiple bookmarks set'
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
@@ -1560,8 +1560,8 b' With multiple bookmarks set'
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
@@ -1596,8 +1596,8 b' Test pushkey for bookmarks'
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
@@ -1636,8 +1636,8 b' Test pushkey for bookmarks'
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
@@ -1688,8 +1688,8 b' Phases on empty repo'
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
@@ -1719,8 +1719,8 b' Phases on empty repo'
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
@@ -1767,8 +1767,8 b' Two draft heads'
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
@@ -1801,8 +1801,8 b' Two draft heads'
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
@@ -1836,8 +1836,8 b' Single draft head'
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
@@ -1869,8 +1869,8 b' Single draft head'
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
@@ -1903,8 +1903,8 b' All public heads'
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
@@ -1934,8 +1934,8 b' All public heads'
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
@@ -1970,8 +1970,8 b' Setting public phase via pushkey'
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
@@ -2011,8 +2011,8 b' Setting public phase via pushkey'
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
@@ -2077,8 +2077,8 b' Test batching of requests'
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
@@ -2117,8 +2117,8 b' Test batching of requests'
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
@@ -496,7 +496,7 b' debug output'
496 devel-peer-request: between
496 devel-peer-request: between
497 devel-peer-request: pairs: 81 bytes
497 devel-peer-request: pairs: 81 bytes
498 sending between command
498 sending between command
499 remote: 384 (sshv1 !)
499 remote: 403 (sshv1 !)
500 protocol upgraded to exp-ssh-v2-0001 (sshv2 !)
500 protocol upgraded to exp-ssh-v2-0001 (sshv2 !)
501 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
501 remote: capabilities: lookup branchmap pushkey known getbundle unbundlehash batch changegroupsubset streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS_SERVER$ unbundle=HG10GZ,HG10BZ,HG10UN
502 remote: 1 (sshv1 !)
502 remote: 1 (sshv1 !)
@@ -512,7 +512,7 b' debug output'
512 no changes found
512 no changes found
513 devel-peer-request: getbundle
513 devel-peer-request: getbundle
514 devel-peer-request: bookmarks: 1 bytes
514 devel-peer-request: bookmarks: 1 bytes
515 devel-peer-request: bundlecaps: 247 bytes
515 devel-peer-request: bundlecaps: 266 bytes
516 devel-peer-request: cg: 1 bytes
516 devel-peer-request: cg: 1 bytes
517 devel-peer-request: common: 122 bytes
517 devel-peer-request: common: 122 bytes
518 devel-peer-request: heads: 122 bytes
518 devel-peer-request: heads: 122 bytes
@@ -222,6 +222,8 b' List of files accessed over HTTP:'
222 /.hg/bookmarks
222 /.hg/bookmarks
223 /.hg/bookmarks.current
223 /.hg/bookmarks.current
224 /.hg/cache/hgtagsfnodes1
224 /.hg/cache/hgtagsfnodes1
225 /.hg/cache/rbc-names-v1
226 /.hg/cache/rbc-revs-v1
225 /.hg/requires
227 /.hg/requires
226 /.hg/store/00changelog.i
228 /.hg/store/00changelog.i
227 /.hg/store/00manifest.i
229 /.hg/store/00manifest.i
@@ -234,6 +236,8 b' List of files accessed over HTTP:'
234 /remote-with-names/.hg/bookmarks.current
236 /remote-with-names/.hg/bookmarks.current
235 /remote-with-names/.hg/cache/branch2-served
237 /remote-with-names/.hg/cache/branch2-served
236 /remote-with-names/.hg/cache/hgtagsfnodes1
238 /remote-with-names/.hg/cache/hgtagsfnodes1
239 /remote-with-names/.hg/cache/rbc-names-v1
240 /remote-with-names/.hg/cache/rbc-revs-v1
237 /remote-with-names/.hg/cache/tags2-served
241 /remote-with-names/.hg/cache/tags2-served
238 /remote-with-names/.hg/localtags
242 /remote-with-names/.hg/localtags
239 /remote-with-names/.hg/requires
243 /remote-with-names/.hg/requires
@@ -248,6 +252,7 b' List of files accessed over HTTP:'
248 /remote/.hg/cache/branch2-served
252 /remote/.hg/cache/branch2-served
249 /remote/.hg/cache/hgtagsfnodes1
253 /remote/.hg/cache/hgtagsfnodes1
250 /remote/.hg/cache/rbc-names-v1
254 /remote/.hg/cache/rbc-names-v1
255 /remote/.hg/cache/rbc-revs-v1
251 /remote/.hg/cache/tags2-served
256 /remote/.hg/cache/tags2-served
252 /remote/.hg/localtags
257 /remote/.hg/localtags
253 /remote/.hg/requires
258 /remote/.hg/requires
@@ -265,6 +270,8 b' List of files accessed over HTTP:'
265 /sub/.hg/bookmarks
270 /sub/.hg/bookmarks
266 /sub/.hg/bookmarks.current
271 /sub/.hg/bookmarks.current
267 /sub/.hg/cache/hgtagsfnodes1
272 /sub/.hg/cache/hgtagsfnodes1
273 /sub/.hg/cache/rbc-names-v1
274 /sub/.hg/cache/rbc-revs-v1
268 /sub/.hg/requires
275 /sub/.hg/requires
269 /sub/.hg/store/00changelog.i
276 /sub/.hg/store/00changelog.i
270 /sub/.hg/store/00manifest.i
277 /sub/.hg/store/00manifest.i
@@ -681,6 +681,8 b' Missing tags2* files means the cache was'
681 checklink (symlink !)
681 checklink (symlink !)
682 checklink-target (symlink !)
682 checklink-target (symlink !)
683 hgtagsfnodes1
683 hgtagsfnodes1
684 rbc-names-v1
685 rbc-revs-v1
684
686
685 Cache should contain the head only, even though other nodes have tags data
687 Cache should contain the head only, even though other nodes have tags data
686
688
@@ -706,6 +708,8 b' Running hg tags should produce tags2* fi'
706 checklink (symlink !)
708 checklink (symlink !)
707 checklink-target (symlink !)
709 checklink-target (symlink !)
708 hgtagsfnodes1
710 hgtagsfnodes1
711 rbc-names-v1
712 rbc-revs-v1
709 tags2-visible
713 tags2-visible
710
714
711 $ f --size --hexdump tagsclient/.hg/cache/hgtagsfnodes1
715 $ f --size --hexdump tagsclient/.hg/cache/hgtagsfnodes1
General Comments 0
You need to be logged in to leave comments. Login now