Show More
@@ -1475,6 +1475,7 b' class seekableunbundlepart(unbundlepart)' | |||||
1475 | # These are only the static capabilities. |
|
1475 | # These are only the static capabilities. | |
1476 | # Check the 'getrepocaps' function for the rest. |
|
1476 | # Check the 'getrepocaps' function for the rest. | |
1477 | capabilities = {'HG20': (), |
|
1477 | capabilities = {'HG20': (), | |
|
1478 | 'bookmarks': (), | |||
1478 | 'error': ('abort', 'unsupportedcontent', 'pushraced', |
|
1479 | 'error': ('abort', 'unsupportedcontent', 'pushraced', | |
1479 | 'pushkey'), |
|
1480 | 'pushkey'), | |
1480 | 'listkeys': (), |
|
1481 | 'listkeys': (), |
@@ -13,6 +13,7 b' import hashlib' | |||||
13 |
|
13 | |||
14 | from .i18n import _ |
|
14 | from .i18n import _ | |
15 | from .node import ( |
|
15 | from .node import ( | |
|
16 | bin, | |||
16 | hex, |
|
17 | hex, | |
17 | nullid, |
|
18 | nullid, | |
18 | ) |
|
19 | ) | |
@@ -743,6 +744,22 b' def _pushing(pushop):' | |||||
743 | or pushop.outobsmarkers |
|
744 | or pushop.outobsmarkers | |
744 | or pushop.outbookmarks) |
|
745 | or pushop.outbookmarks) | |
745 |
|
746 | |||
|
747 | @b2partsgenerator('check-bookmarks') | |||
|
748 | def _pushb2checkbookmarks(pushop, bundler): | |||
|
749 | """insert bookmark move checking""" | |||
|
750 | if not _pushing(pushop) or pushop.force: | |||
|
751 | return | |||
|
752 | b2caps = bundle2.bundle2caps(pushop.remote) | |||
|
753 | hasbookmarkcheck = 'bookmarks' in b2caps | |||
|
754 | if not (pushop.outbookmarks and hasbookmarkcheck): | |||
|
755 | return | |||
|
756 | data = [] | |||
|
757 | for book, old, new in pushop.outbookmarks: | |||
|
758 | old = bin(old) | |||
|
759 | data.append((book, old)) | |||
|
760 | checkdata = bookmod.binaryencode(data) | |||
|
761 | bundler.newpart('check:bookmarks', data=checkdata) | |||
|
762 | ||||
746 | @b2partsgenerator('check-phases') |
|
763 | @b2partsgenerator('check-phases') | |
747 | def _pushb2checkphases(pushop, bundler): |
|
764 | def _pushb2checkphases(pushop, bundler): | |
748 | """insert phase move checking""" |
|
765 | """insert phase move checking""" |
@@ -8,6 +8,7 b' substitutions = [' | |||||
8 | ), |
|
8 | ), | |
9 | # capabilities sent through http |
|
9 | # capabilities sent through http | |
10 | (br'bundlecaps=HG20%2Cbundle2%3DHG20%250A' |
|
10 | (br'bundlecaps=HG20%2Cbundle2%3DHG20%250A' | |
|
11 | br'bookmarks%250A' | |||
11 | br'changegroup%253D01%252C02%250A' |
|
12 | br'changegroup%253D01%252C02%250A' | |
12 | br'digests%253Dmd5%252Csha1%252Csha512%250A' |
|
13 | br'digests%253Dmd5%252Csha1%252Csha512%250A' | |
13 | br'error%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250A' |
|
14 | br'error%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250A' | |
@@ -21,6 +22,7 b' substitutions = [' | |||||
21 | ), |
|
22 | ), | |
22 | # bundle2 capabilities sent through ssh |
|
23 | # bundle2 capabilities sent through ssh | |
23 | (br'bundle2=HG20%0A' |
|
24 | (br'bundle2=HG20%0A' | |
|
25 | br'bookmarks%0A' | |||
24 | br'changegroup%3D01%2C02%0A' |
|
26 | br'changegroup%3D01%2C02%0A' | |
25 | br'digests%3Dmd5%2Csha1%2Csha512%0A' |
|
27 | br'digests%3Dmd5%2Csha1%2Csha512%0A' | |
26 | br'error%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0A' |
|
28 | br'error%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0A' |
@@ -93,14 +93,14 b' Extension disabled for lack of a hook' | |||||
93 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
93 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
94 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
94 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
95 | bundle2-output-bundle: "HG20", 5 parts total |
|
95 | bundle2-output-bundle: "HG20", 5 parts total | |
96 |
bundle2-output-part: "replycaps" 1 |
|
96 | bundle2-output-part: "replycaps" 178 bytes payload | |
97 | bundle2-output-part: "check:phases" 24 bytes payload |
|
97 | bundle2-output-part: "check:phases" 24 bytes payload | |
98 | bundle2-output-part: "check:heads" streamed payload |
|
98 | bundle2-output-part: "check:heads" streamed payload | |
99 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
99 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
100 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
100 | bundle2-output-part: "phase-heads" 24 bytes payload | |
101 | bundle2-input-bundle: with-transaction |
|
101 | bundle2-input-bundle: with-transaction | |
102 | bundle2-input-part: "replycaps" supported |
|
102 | bundle2-input-part: "replycaps" supported | |
103 |
bundle2-input-part: total payload size 1 |
|
103 | bundle2-input-part: total payload size 178 | |
104 | bundle2-input-part: "check:phases" supported |
|
104 | bundle2-input-part: "check:phases" supported | |
105 | bundle2-input-part: total payload size 24 |
|
105 | bundle2-input-part: total payload size 24 | |
106 | bundle2-input-part: "check:heads" supported |
|
106 | bundle2-input-part: "check:heads" supported | |
@@ -156,14 +156,14 b' Extension disabled for lack of acl.sourc' | |||||
156 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
156 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
157 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
157 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
158 | bundle2-output-bundle: "HG20", 5 parts total |
|
158 | bundle2-output-bundle: "HG20", 5 parts total | |
159 |
bundle2-output-part: "replycaps" 1 |
|
159 | bundle2-output-part: "replycaps" 178 bytes payload | |
160 | bundle2-output-part: "check:phases" 24 bytes payload |
|
160 | bundle2-output-part: "check:phases" 24 bytes payload | |
161 | bundle2-output-part: "check:heads" streamed payload |
|
161 | bundle2-output-part: "check:heads" streamed payload | |
162 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
162 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
163 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
163 | bundle2-output-part: "phase-heads" 24 bytes payload | |
164 | bundle2-input-bundle: with-transaction |
|
164 | bundle2-input-bundle: with-transaction | |
165 | bundle2-input-part: "replycaps" supported |
|
165 | bundle2-input-part: "replycaps" supported | |
166 |
bundle2-input-part: total payload size 1 |
|
166 | bundle2-input-part: total payload size 178 | |
167 | bundle2-input-part: "check:phases" supported |
|
167 | bundle2-input-part: "check:phases" supported | |
168 | bundle2-input-part: total payload size 24 |
|
168 | bundle2-input-part: total payload size 24 | |
169 | bundle2-input-part: "check:heads" supported |
|
169 | bundle2-input-part: "check:heads" supported | |
@@ -222,14 +222,14 b' No [acl.allow]/[acl.deny]' | |||||
222 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
222 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
223 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
223 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
224 | bundle2-output-bundle: "HG20", 5 parts total |
|
224 | bundle2-output-bundle: "HG20", 5 parts total | |
225 |
bundle2-output-part: "replycaps" 1 |
|
225 | bundle2-output-part: "replycaps" 178 bytes payload | |
226 | bundle2-output-part: "check:phases" 24 bytes payload |
|
226 | bundle2-output-part: "check:phases" 24 bytes payload | |
227 | bundle2-output-part: "check:heads" streamed payload |
|
227 | bundle2-output-part: "check:heads" streamed payload | |
228 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
228 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
229 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
229 | bundle2-output-part: "phase-heads" 24 bytes payload | |
230 | bundle2-input-bundle: with-transaction |
|
230 | bundle2-input-bundle: with-transaction | |
231 | bundle2-input-part: "replycaps" supported |
|
231 | bundle2-input-part: "replycaps" supported | |
232 |
bundle2-input-part: total payload size 1 |
|
232 | bundle2-input-part: total payload size 178 | |
233 | bundle2-input-part: "check:phases" supported |
|
233 | bundle2-input-part: "check:phases" supported | |
234 | bundle2-input-part: total payload size 24 |
|
234 | bundle2-input-part: total payload size 24 | |
235 | bundle2-input-part: "check:heads" supported |
|
235 | bundle2-input-part: "check:heads" supported | |
@@ -298,14 +298,14 b' Empty [acl.allow]' | |||||
298 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
298 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
299 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
299 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
300 | bundle2-output-bundle: "HG20", 5 parts total |
|
300 | bundle2-output-bundle: "HG20", 5 parts total | |
301 |
bundle2-output-part: "replycaps" 1 |
|
301 | bundle2-output-part: "replycaps" 178 bytes payload | |
302 | bundle2-output-part: "check:phases" 24 bytes payload |
|
302 | bundle2-output-part: "check:phases" 24 bytes payload | |
303 | bundle2-output-part: "check:heads" streamed payload |
|
303 | bundle2-output-part: "check:heads" streamed payload | |
304 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
304 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
305 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
305 | bundle2-output-part: "phase-heads" 24 bytes payload | |
306 | bundle2-input-bundle: with-transaction |
|
306 | bundle2-input-bundle: with-transaction | |
307 | bundle2-input-part: "replycaps" supported |
|
307 | bundle2-input-part: "replycaps" supported | |
308 |
bundle2-input-part: total payload size 1 |
|
308 | bundle2-input-part: total payload size 178 | |
309 | bundle2-input-part: "check:phases" supported |
|
309 | bundle2-input-part: "check:phases" supported | |
310 | bundle2-input-part: total payload size 24 |
|
310 | bundle2-input-part: total payload size 24 | |
311 | bundle2-input-part: "check:heads" supported |
|
311 | bundle2-input-part: "check:heads" supported | |
@@ -366,14 +366,14 b' fred is allowed inside foo/' | |||||
366 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
366 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
367 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
367 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
368 | bundle2-output-bundle: "HG20", 5 parts total |
|
368 | bundle2-output-bundle: "HG20", 5 parts total | |
369 |
bundle2-output-part: "replycaps" 1 |
|
369 | bundle2-output-part: "replycaps" 178 bytes payload | |
370 | bundle2-output-part: "check:phases" 24 bytes payload |
|
370 | bundle2-output-part: "check:phases" 24 bytes payload | |
371 | bundle2-output-part: "check:heads" streamed payload |
|
371 | bundle2-output-part: "check:heads" streamed payload | |
372 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
372 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
373 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
373 | bundle2-output-part: "phase-heads" 24 bytes payload | |
374 | bundle2-input-bundle: with-transaction |
|
374 | bundle2-input-bundle: with-transaction | |
375 | bundle2-input-part: "replycaps" supported |
|
375 | bundle2-input-part: "replycaps" supported | |
376 |
bundle2-input-part: total payload size 1 |
|
376 | bundle2-input-part: total payload size 178 | |
377 | bundle2-input-part: "check:phases" supported |
|
377 | bundle2-input-part: "check:phases" supported | |
378 | bundle2-input-part: total payload size 24 |
|
378 | bundle2-input-part: total payload size 24 | |
379 | bundle2-input-part: "check:heads" supported |
|
379 | bundle2-input-part: "check:heads" supported | |
@@ -439,14 +439,14 b' Empty [acl.deny]' | |||||
439 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
439 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
440 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
440 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
441 | bundle2-output-bundle: "HG20", 5 parts total |
|
441 | bundle2-output-bundle: "HG20", 5 parts total | |
442 |
bundle2-output-part: "replycaps" 1 |
|
442 | bundle2-output-part: "replycaps" 178 bytes payload | |
443 | bundle2-output-part: "check:phases" 24 bytes payload |
|
443 | bundle2-output-part: "check:phases" 24 bytes payload | |
444 | bundle2-output-part: "check:heads" streamed payload |
|
444 | bundle2-output-part: "check:heads" streamed payload | |
445 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
445 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
446 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
446 | bundle2-output-part: "phase-heads" 24 bytes payload | |
447 | bundle2-input-bundle: with-transaction |
|
447 | bundle2-input-bundle: with-transaction | |
448 | bundle2-input-part: "replycaps" supported |
|
448 | bundle2-input-part: "replycaps" supported | |
449 |
bundle2-input-part: total payload size 1 |
|
449 | bundle2-input-part: total payload size 178 | |
450 | bundle2-input-part: "check:phases" supported |
|
450 | bundle2-input-part: "check:phases" supported | |
451 | bundle2-input-part: total payload size 24 |
|
451 | bundle2-input-part: total payload size 24 | |
452 | bundle2-input-part: "check:heads" supported |
|
452 | bundle2-input-part: "check:heads" supported | |
@@ -509,14 +509,14 b' fred is allowed inside foo/, but not foo' | |||||
509 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
509 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
510 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
510 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
511 | bundle2-output-bundle: "HG20", 5 parts total |
|
511 | bundle2-output-bundle: "HG20", 5 parts total | |
512 |
bundle2-output-part: "replycaps" 1 |
|
512 | bundle2-output-part: "replycaps" 178 bytes payload | |
513 | bundle2-output-part: "check:phases" 24 bytes payload |
|
513 | bundle2-output-part: "check:phases" 24 bytes payload | |
514 | bundle2-output-part: "check:heads" streamed payload |
|
514 | bundle2-output-part: "check:heads" streamed payload | |
515 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
515 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
516 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
516 | bundle2-output-part: "phase-heads" 24 bytes payload | |
517 | bundle2-input-bundle: with-transaction |
|
517 | bundle2-input-bundle: with-transaction | |
518 | bundle2-input-part: "replycaps" supported |
|
518 | bundle2-input-part: "replycaps" supported | |
519 |
bundle2-input-part: total payload size 1 |
|
519 | bundle2-input-part: total payload size 178 | |
520 | bundle2-input-part: "check:phases" supported |
|
520 | bundle2-input-part: "check:phases" supported | |
521 | bundle2-input-part: total payload size 24 |
|
521 | bundle2-input-part: total payload size 24 | |
522 | bundle2-input-part: "check:heads" supported |
|
522 | bundle2-input-part: "check:heads" supported | |
@@ -584,14 +584,14 b' fred is allowed inside foo/, but not foo' | |||||
584 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
584 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
585 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
585 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
586 | bundle2-output-bundle: "HG20", 5 parts total |
|
586 | bundle2-output-bundle: "HG20", 5 parts total | |
587 |
bundle2-output-part: "replycaps" 1 |
|
587 | bundle2-output-part: "replycaps" 178 bytes payload | |
588 | bundle2-output-part: "check:phases" 24 bytes payload |
|
588 | bundle2-output-part: "check:phases" 24 bytes payload | |
589 | bundle2-output-part: "check:heads" streamed payload |
|
589 | bundle2-output-part: "check:heads" streamed payload | |
590 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
590 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
591 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
591 | bundle2-output-part: "phase-heads" 24 bytes payload | |
592 | bundle2-input-bundle: with-transaction |
|
592 | bundle2-input-bundle: with-transaction | |
593 | bundle2-input-part: "replycaps" supported |
|
593 | bundle2-input-part: "replycaps" supported | |
594 |
bundle2-input-part: total payload size 1 |
|
594 | bundle2-input-part: total payload size 178 | |
595 | bundle2-input-part: "check:phases" supported |
|
595 | bundle2-input-part: "check:phases" supported | |
596 | bundle2-input-part: total payload size 24 |
|
596 | bundle2-input-part: total payload size 24 | |
597 | bundle2-input-part: "check:heads" supported |
|
597 | bundle2-input-part: "check:heads" supported | |
@@ -656,14 +656,14 b' fred is allowed inside foo/, but not foo' | |||||
656 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
656 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
657 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
657 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
658 | bundle2-output-bundle: "HG20", 5 parts total |
|
658 | bundle2-output-bundle: "HG20", 5 parts total | |
659 |
bundle2-output-part: "replycaps" 1 |
|
659 | bundle2-output-part: "replycaps" 178 bytes payload | |
660 | bundle2-output-part: "check:phases" 24 bytes payload |
|
660 | bundle2-output-part: "check:phases" 24 bytes payload | |
661 | bundle2-output-part: "check:heads" streamed payload |
|
661 | bundle2-output-part: "check:heads" streamed payload | |
662 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
662 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
663 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
663 | bundle2-output-part: "phase-heads" 24 bytes payload | |
664 | bundle2-input-bundle: with-transaction |
|
664 | bundle2-input-bundle: with-transaction | |
665 | bundle2-input-part: "replycaps" supported |
|
665 | bundle2-input-part: "replycaps" supported | |
666 |
bundle2-input-part: total payload size 1 |
|
666 | bundle2-input-part: total payload size 178 | |
667 | bundle2-input-part: "check:phases" supported |
|
667 | bundle2-input-part: "check:phases" supported | |
668 | bundle2-input-part: total payload size 24 |
|
668 | bundle2-input-part: total payload size 24 | |
669 | bundle2-input-part: "check:heads" supported |
|
669 | bundle2-input-part: "check:heads" supported | |
@@ -730,14 +730,14 b' barney is allowed everywhere' | |||||
730 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
730 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
731 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
731 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
732 | bundle2-output-bundle: "HG20", 5 parts total |
|
732 | bundle2-output-bundle: "HG20", 5 parts total | |
733 |
bundle2-output-part: "replycaps" 1 |
|
733 | bundle2-output-part: "replycaps" 178 bytes payload | |
734 | bundle2-output-part: "check:phases" 24 bytes payload |
|
734 | bundle2-output-part: "check:phases" 24 bytes payload | |
735 | bundle2-output-part: "check:heads" streamed payload |
|
735 | bundle2-output-part: "check:heads" streamed payload | |
736 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
736 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
737 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
737 | bundle2-output-part: "phase-heads" 24 bytes payload | |
738 | bundle2-input-bundle: with-transaction |
|
738 | bundle2-input-bundle: with-transaction | |
739 | bundle2-input-part: "replycaps" supported |
|
739 | bundle2-input-part: "replycaps" supported | |
740 |
bundle2-input-part: total payload size 1 |
|
740 | bundle2-input-part: total payload size 178 | |
741 | bundle2-input-part: "check:phases" supported |
|
741 | bundle2-input-part: "check:phases" supported | |
742 | bundle2-input-part: total payload size 24 |
|
742 | bundle2-input-part: total payload size 24 | |
743 | bundle2-input-part: "check:heads" supported |
|
743 | bundle2-input-part: "check:heads" supported | |
@@ -813,14 +813,14 b' wilma can change files with a .txt exten' | |||||
813 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
813 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
814 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
814 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
815 | bundle2-output-bundle: "HG20", 5 parts total |
|
815 | bundle2-output-bundle: "HG20", 5 parts total | |
816 |
bundle2-output-part: "replycaps" 1 |
|
816 | bundle2-output-part: "replycaps" 178 bytes payload | |
817 | bundle2-output-part: "check:phases" 24 bytes payload |
|
817 | bundle2-output-part: "check:phases" 24 bytes payload | |
818 | bundle2-output-part: "check:heads" streamed payload |
|
818 | bundle2-output-part: "check:heads" streamed payload | |
819 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
819 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
820 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
820 | bundle2-output-part: "phase-heads" 24 bytes payload | |
821 | bundle2-input-bundle: with-transaction |
|
821 | bundle2-input-bundle: with-transaction | |
822 | bundle2-input-part: "replycaps" supported |
|
822 | bundle2-input-part: "replycaps" supported | |
823 |
bundle2-input-part: total payload size 1 |
|
823 | bundle2-input-part: total payload size 178 | |
824 | bundle2-input-part: "check:phases" supported |
|
824 | bundle2-input-part: "check:phases" supported | |
825 | bundle2-input-part: total payload size 24 |
|
825 | bundle2-input-part: total payload size 24 | |
826 | bundle2-input-part: "check:heads" supported |
|
826 | bundle2-input-part: "check:heads" supported | |
@@ -894,14 +894,14 b' file specified by acl.config does not ex' | |||||
894 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
894 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
895 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
895 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
896 | bundle2-output-bundle: "HG20", 5 parts total |
|
896 | bundle2-output-bundle: "HG20", 5 parts total | |
897 |
bundle2-output-part: "replycaps" 1 |
|
897 | bundle2-output-part: "replycaps" 178 bytes payload | |
898 | bundle2-output-part: "check:phases" 24 bytes payload |
|
898 | bundle2-output-part: "check:phases" 24 bytes payload | |
899 | bundle2-output-part: "check:heads" streamed payload |
|
899 | bundle2-output-part: "check:heads" streamed payload | |
900 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
900 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
901 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
901 | bundle2-output-part: "phase-heads" 24 bytes payload | |
902 | bundle2-input-bundle: with-transaction |
|
902 | bundle2-input-bundle: with-transaction | |
903 | bundle2-input-part: "replycaps" supported |
|
903 | bundle2-input-part: "replycaps" supported | |
904 |
bundle2-input-part: total payload size 1 |
|
904 | bundle2-input-part: total payload size 178 | |
905 | bundle2-input-part: "check:phases" supported |
|
905 | bundle2-input-part: "check:phases" supported | |
906 | bundle2-input-part: total payload size 24 |
|
906 | bundle2-input-part: total payload size 24 | |
907 | bundle2-input-part: "check:heads" supported |
|
907 | bundle2-input-part: "check:heads" supported | |
@@ -970,14 +970,14 b' betty is allowed inside foo/ by a acl.co' | |||||
970 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
970 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
971 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
971 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
972 | bundle2-output-bundle: "HG20", 5 parts total |
|
972 | bundle2-output-bundle: "HG20", 5 parts total | |
973 |
bundle2-output-part: "replycaps" 1 |
|
973 | bundle2-output-part: "replycaps" 178 bytes payload | |
974 | bundle2-output-part: "check:phases" 24 bytes payload |
|
974 | bundle2-output-part: "check:phases" 24 bytes payload | |
975 | bundle2-output-part: "check:heads" streamed payload |
|
975 | bundle2-output-part: "check:heads" streamed payload | |
976 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
976 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
977 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
977 | bundle2-output-part: "phase-heads" 24 bytes payload | |
978 | bundle2-input-bundle: with-transaction |
|
978 | bundle2-input-bundle: with-transaction | |
979 | bundle2-input-part: "replycaps" supported |
|
979 | bundle2-input-part: "replycaps" supported | |
980 |
bundle2-input-part: total payload size 1 |
|
980 | bundle2-input-part: total payload size 178 | |
981 | bundle2-input-part: "check:phases" supported |
|
981 | bundle2-input-part: "check:phases" supported | |
982 | bundle2-input-part: total payload size 24 |
|
982 | bundle2-input-part: total payload size 24 | |
983 | bundle2-input-part: "check:heads" supported |
|
983 | bundle2-input-part: "check:heads" supported | |
@@ -1057,14 +1057,14 b' acl.config can set only [acl.allow]/[acl' | |||||
1057 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1057 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
1058 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1058 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
1059 | bundle2-output-bundle: "HG20", 5 parts total |
|
1059 | bundle2-output-bundle: "HG20", 5 parts total | |
1060 |
bundle2-output-part: "replycaps" 1 |
|
1060 | bundle2-output-part: "replycaps" 178 bytes payload | |
1061 | bundle2-output-part: "check:phases" 24 bytes payload |
|
1061 | bundle2-output-part: "check:phases" 24 bytes payload | |
1062 | bundle2-output-part: "check:heads" streamed payload |
|
1062 | bundle2-output-part: "check:heads" streamed payload | |
1063 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1063 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
1064 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
1064 | bundle2-output-part: "phase-heads" 24 bytes payload | |
1065 | bundle2-input-bundle: with-transaction |
|
1065 | bundle2-input-bundle: with-transaction | |
1066 | bundle2-input-part: "replycaps" supported |
|
1066 | bundle2-input-part: "replycaps" supported | |
1067 |
bundle2-input-part: total payload size 1 |
|
1067 | bundle2-input-part: total payload size 178 | |
1068 | bundle2-input-part: "check:phases" supported |
|
1068 | bundle2-input-part: "check:phases" supported | |
1069 | bundle2-input-part: total payload size 24 |
|
1069 | bundle2-input-part: total payload size 24 | |
1070 | bundle2-input-part: "check:heads" supported |
|
1070 | bundle2-input-part: "check:heads" supported | |
@@ -1143,14 +1143,14 b' fred is always allowed' | |||||
1143 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1143 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
1144 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1144 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
1145 | bundle2-output-bundle: "HG20", 5 parts total |
|
1145 | bundle2-output-bundle: "HG20", 5 parts total | |
1146 |
bundle2-output-part: "replycaps" 1 |
|
1146 | bundle2-output-part: "replycaps" 178 bytes payload | |
1147 | bundle2-output-part: "check:phases" 24 bytes payload |
|
1147 | bundle2-output-part: "check:phases" 24 bytes payload | |
1148 | bundle2-output-part: "check:heads" streamed payload |
|
1148 | bundle2-output-part: "check:heads" streamed payload | |
1149 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1149 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
1150 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
1150 | bundle2-output-part: "phase-heads" 24 bytes payload | |
1151 | bundle2-input-bundle: with-transaction |
|
1151 | bundle2-input-bundle: with-transaction | |
1152 | bundle2-input-part: "replycaps" supported |
|
1152 | bundle2-input-part: "replycaps" supported | |
1153 |
bundle2-input-part: total payload size 1 |
|
1153 | bundle2-input-part: total payload size 178 | |
1154 | bundle2-input-part: "check:phases" supported |
|
1154 | bundle2-input-part: "check:phases" supported | |
1155 | bundle2-input-part: total payload size 24 |
|
1155 | bundle2-input-part: total payload size 24 | |
1156 | bundle2-input-part: "check:heads" supported |
|
1156 | bundle2-input-part: "check:heads" supported | |
@@ -1225,14 +1225,14 b' no one is allowed inside foo/Bar/' | |||||
1225 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1225 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
1226 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1226 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
1227 | bundle2-output-bundle: "HG20", 5 parts total |
|
1227 | bundle2-output-bundle: "HG20", 5 parts total | |
1228 |
bundle2-output-part: "replycaps" 1 |
|
1228 | bundle2-output-part: "replycaps" 178 bytes payload | |
1229 | bundle2-output-part: "check:phases" 24 bytes payload |
|
1229 | bundle2-output-part: "check:phases" 24 bytes payload | |
1230 | bundle2-output-part: "check:heads" streamed payload |
|
1230 | bundle2-output-part: "check:heads" streamed payload | |
1231 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1231 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
1232 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
1232 | bundle2-output-part: "phase-heads" 24 bytes payload | |
1233 | bundle2-input-bundle: with-transaction |
|
1233 | bundle2-input-bundle: with-transaction | |
1234 | bundle2-input-part: "replycaps" supported |
|
1234 | bundle2-input-part: "replycaps" supported | |
1235 |
bundle2-input-part: total payload size 1 |
|
1235 | bundle2-input-part: total payload size 178 | |
1236 | bundle2-input-part: "check:phases" supported |
|
1236 | bundle2-input-part: "check:phases" supported | |
1237 | bundle2-input-part: total payload size 24 |
|
1237 | bundle2-input-part: total payload size 24 | |
1238 | bundle2-input-part: "check:heads" supported |
|
1238 | bundle2-input-part: "check:heads" supported | |
@@ -1304,14 +1304,14 b' OS-level groups' | |||||
1304 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1304 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
1305 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1305 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
1306 | bundle2-output-bundle: "HG20", 5 parts total |
|
1306 | bundle2-output-bundle: "HG20", 5 parts total | |
1307 |
bundle2-output-part: "replycaps" 1 |
|
1307 | bundle2-output-part: "replycaps" 178 bytes payload | |
1308 | bundle2-output-part: "check:phases" 24 bytes payload |
|
1308 | bundle2-output-part: "check:phases" 24 bytes payload | |
1309 | bundle2-output-part: "check:heads" streamed payload |
|
1309 | bundle2-output-part: "check:heads" streamed payload | |
1310 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1310 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
1311 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
1311 | bundle2-output-part: "phase-heads" 24 bytes payload | |
1312 | bundle2-input-bundle: with-transaction |
|
1312 | bundle2-input-bundle: with-transaction | |
1313 | bundle2-input-part: "replycaps" supported |
|
1313 | bundle2-input-part: "replycaps" supported | |
1314 |
bundle2-input-part: total payload size 1 |
|
1314 | bundle2-input-part: total payload size 178 | |
1315 | bundle2-input-part: "check:phases" supported |
|
1315 | bundle2-input-part: "check:phases" supported | |
1316 | bundle2-input-part: total payload size 24 |
|
1316 | bundle2-input-part: total payload size 24 | |
1317 | bundle2-input-part: "check:heads" supported |
|
1317 | bundle2-input-part: "check:heads" supported | |
@@ -1387,14 +1387,14 b' OS-level groups' | |||||
1387 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1387 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd | |
1388 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1388 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
1389 | bundle2-output-bundle: "HG20", 5 parts total |
|
1389 | bundle2-output-bundle: "HG20", 5 parts total | |
1390 |
bundle2-output-part: "replycaps" 1 |
|
1390 | bundle2-output-part: "replycaps" 178 bytes payload | |
1391 | bundle2-output-part: "check:phases" 24 bytes payload |
|
1391 | bundle2-output-part: "check:phases" 24 bytes payload | |
1392 | bundle2-output-part: "check:heads" streamed payload |
|
1392 | bundle2-output-part: "check:heads" streamed payload | |
1393 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1393 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
1394 | bundle2-output-part: "phase-heads" 24 bytes payload |
|
1394 | bundle2-output-part: "phase-heads" 24 bytes payload | |
1395 | bundle2-input-bundle: with-transaction |
|
1395 | bundle2-input-bundle: with-transaction | |
1396 | bundle2-input-part: "replycaps" supported |
|
1396 | bundle2-input-part: "replycaps" supported | |
1397 |
bundle2-input-part: total payload size 1 |
|
1397 | bundle2-input-part: total payload size 178 | |
1398 | bundle2-input-part: "check:phases" supported |
|
1398 | bundle2-input-part: "check:phases" supported | |
1399 | bundle2-input-part: total payload size 24 |
|
1399 | bundle2-input-part: total payload size 24 | |
1400 | bundle2-input-part: "check:heads" supported |
|
1400 | bundle2-input-part: "check:heads" supported | |
@@ -1507,14 +1507,14 b' No branch acls specified' | |||||
1507 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1507 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
1508 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
1508 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 | |
1509 | bundle2-output-bundle: "HG20", 5 parts total |
|
1509 | bundle2-output-bundle: "HG20", 5 parts total | |
1510 |
bundle2-output-part: "replycaps" 1 |
|
1510 | bundle2-output-part: "replycaps" 178 bytes payload | |
1511 | bundle2-output-part: "check:phases" 48 bytes payload |
|
1511 | bundle2-output-part: "check:phases" 48 bytes payload | |
1512 | bundle2-output-part: "check:heads" streamed payload |
|
1512 | bundle2-output-part: "check:heads" streamed payload | |
1513 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1513 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
1514 | bundle2-output-part: "phase-heads" 48 bytes payload |
|
1514 | bundle2-output-part: "phase-heads" 48 bytes payload | |
1515 | bundle2-input-bundle: with-transaction |
|
1515 | bundle2-input-bundle: with-transaction | |
1516 | bundle2-input-part: "replycaps" supported |
|
1516 | bundle2-input-part: "replycaps" supported | |
1517 |
bundle2-input-part: total payload size 1 |
|
1517 | bundle2-input-part: total payload size 178 | |
1518 | bundle2-input-part: "check:phases" supported |
|
1518 | bundle2-input-part: "check:phases" supported | |
1519 | bundle2-input-part: total payload size 48 |
|
1519 | bundle2-input-part: total payload size 48 | |
1520 | bundle2-input-part: "check:heads" supported |
|
1520 | bundle2-input-part: "check:heads" supported | |
@@ -1591,14 +1591,14 b' Branch acl deny test' | |||||
1591 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1591 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
1592 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
1592 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 | |
1593 | bundle2-output-bundle: "HG20", 5 parts total |
|
1593 | bundle2-output-bundle: "HG20", 5 parts total | |
1594 |
bundle2-output-part: "replycaps" 1 |
|
1594 | bundle2-output-part: "replycaps" 178 bytes payload | |
1595 | bundle2-output-part: "check:phases" 48 bytes payload |
|
1595 | bundle2-output-part: "check:phases" 48 bytes payload | |
1596 | bundle2-output-part: "check:heads" streamed payload |
|
1596 | bundle2-output-part: "check:heads" streamed payload | |
1597 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1597 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
1598 | bundle2-output-part: "phase-heads" 48 bytes payload |
|
1598 | bundle2-output-part: "phase-heads" 48 bytes payload | |
1599 | bundle2-input-bundle: with-transaction |
|
1599 | bundle2-input-bundle: with-transaction | |
1600 | bundle2-input-part: "replycaps" supported |
|
1600 | bundle2-input-part: "replycaps" supported | |
1601 |
bundle2-input-part: total payload size 1 |
|
1601 | bundle2-input-part: total payload size 178 | |
1602 | bundle2-input-part: "check:phases" supported |
|
1602 | bundle2-input-part: "check:phases" supported | |
1603 | bundle2-input-part: total payload size 48 |
|
1603 | bundle2-input-part: total payload size 48 | |
1604 | bundle2-input-part: "check:heads" supported |
|
1604 | bundle2-input-part: "check:heads" supported | |
@@ -1668,14 +1668,14 b' Branch acl empty allow test' | |||||
1668 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1668 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
1669 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
1669 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 | |
1670 | bundle2-output-bundle: "HG20", 5 parts total |
|
1670 | bundle2-output-bundle: "HG20", 5 parts total | |
1671 |
bundle2-output-part: "replycaps" 1 |
|
1671 | bundle2-output-part: "replycaps" 178 bytes payload | |
1672 | bundle2-output-part: "check:phases" 48 bytes payload |
|
1672 | bundle2-output-part: "check:phases" 48 bytes payload | |
1673 | bundle2-output-part: "check:heads" streamed payload |
|
1673 | bundle2-output-part: "check:heads" streamed payload | |
1674 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1674 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
1675 | bundle2-output-part: "phase-heads" 48 bytes payload |
|
1675 | bundle2-output-part: "phase-heads" 48 bytes payload | |
1676 | bundle2-input-bundle: with-transaction |
|
1676 | bundle2-input-bundle: with-transaction | |
1677 | bundle2-input-part: "replycaps" supported |
|
1677 | bundle2-input-part: "replycaps" supported | |
1678 |
bundle2-input-part: total payload size 1 |
|
1678 | bundle2-input-part: total payload size 178 | |
1679 | bundle2-input-part: "check:phases" supported |
|
1679 | bundle2-input-part: "check:phases" supported | |
1680 | bundle2-input-part: total payload size 48 |
|
1680 | bundle2-input-part: total payload size 48 | |
1681 | bundle2-input-part: "check:heads" supported |
|
1681 | bundle2-input-part: "check:heads" supported | |
@@ -1741,14 +1741,14 b' Branch acl allow other' | |||||
1741 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1741 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
1742 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
1742 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 | |
1743 | bundle2-output-bundle: "HG20", 5 parts total |
|
1743 | bundle2-output-bundle: "HG20", 5 parts total | |
1744 |
bundle2-output-part: "replycaps" 1 |
|
1744 | bundle2-output-part: "replycaps" 178 bytes payload | |
1745 | bundle2-output-part: "check:phases" 48 bytes payload |
|
1745 | bundle2-output-part: "check:phases" 48 bytes payload | |
1746 | bundle2-output-part: "check:heads" streamed payload |
|
1746 | bundle2-output-part: "check:heads" streamed payload | |
1747 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1747 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
1748 | bundle2-output-part: "phase-heads" 48 bytes payload |
|
1748 | bundle2-output-part: "phase-heads" 48 bytes payload | |
1749 | bundle2-input-bundle: with-transaction |
|
1749 | bundle2-input-bundle: with-transaction | |
1750 | bundle2-input-part: "replycaps" supported |
|
1750 | bundle2-input-part: "replycaps" supported | |
1751 |
bundle2-input-part: total payload size 1 |
|
1751 | bundle2-input-part: total payload size 178 | |
1752 | bundle2-input-part: "check:phases" supported |
|
1752 | bundle2-input-part: "check:phases" supported | |
1753 | bundle2-input-part: total payload size 48 |
|
1753 | bundle2-input-part: total payload size 48 | |
1754 | bundle2-input-part: "check:heads" supported |
|
1754 | bundle2-input-part: "check:heads" supported | |
@@ -1808,14 +1808,14 b' Branch acl allow other' | |||||
1808 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1808 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
1809 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
1809 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 | |
1810 | bundle2-output-bundle: "HG20", 5 parts total |
|
1810 | bundle2-output-bundle: "HG20", 5 parts total | |
1811 |
bundle2-output-part: "replycaps" 1 |
|
1811 | bundle2-output-part: "replycaps" 178 bytes payload | |
1812 | bundle2-output-part: "check:phases" 48 bytes payload |
|
1812 | bundle2-output-part: "check:phases" 48 bytes payload | |
1813 | bundle2-output-part: "check:heads" streamed payload |
|
1813 | bundle2-output-part: "check:heads" streamed payload | |
1814 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1814 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
1815 | bundle2-output-part: "phase-heads" 48 bytes payload |
|
1815 | bundle2-output-part: "phase-heads" 48 bytes payload | |
1816 | bundle2-input-bundle: with-transaction |
|
1816 | bundle2-input-bundle: with-transaction | |
1817 | bundle2-input-part: "replycaps" supported |
|
1817 | bundle2-input-part: "replycaps" supported | |
1818 |
bundle2-input-part: total payload size 1 |
|
1818 | bundle2-input-part: total payload size 178 | |
1819 | bundle2-input-part: "check:phases" supported |
|
1819 | bundle2-input-part: "check:phases" supported | |
1820 | bundle2-input-part: total payload size 48 |
|
1820 | bundle2-input-part: total payload size 48 | |
1821 | bundle2-input-part: "check:heads" supported |
|
1821 | bundle2-input-part: "check:heads" supported | |
@@ -1897,14 +1897,14 b' push foobar into the remote' | |||||
1897 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1897 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
1898 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
1898 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 | |
1899 | bundle2-output-bundle: "HG20", 5 parts total |
|
1899 | bundle2-output-bundle: "HG20", 5 parts total | |
1900 |
bundle2-output-part: "replycaps" 1 |
|
1900 | bundle2-output-part: "replycaps" 178 bytes payload | |
1901 | bundle2-output-part: "check:phases" 48 bytes payload |
|
1901 | bundle2-output-part: "check:phases" 48 bytes payload | |
1902 | bundle2-output-part: "check:heads" streamed payload |
|
1902 | bundle2-output-part: "check:heads" streamed payload | |
1903 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1903 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
1904 | bundle2-output-part: "phase-heads" 48 bytes payload |
|
1904 | bundle2-output-part: "phase-heads" 48 bytes payload | |
1905 | bundle2-input-bundle: with-transaction |
|
1905 | bundle2-input-bundle: with-transaction | |
1906 | bundle2-input-part: "replycaps" supported |
|
1906 | bundle2-input-part: "replycaps" supported | |
1907 |
bundle2-input-part: total payload size 1 |
|
1907 | bundle2-input-part: total payload size 178 | |
1908 | bundle2-input-part: "check:phases" supported |
|
1908 | bundle2-input-part: "check:phases" supported | |
1909 | bundle2-input-part: total payload size 48 |
|
1909 | bundle2-input-part: total payload size 48 | |
1910 | bundle2-input-part: "check:heads" supported |
|
1910 | bundle2-input-part: "check:heads" supported | |
@@ -1985,14 +1985,14 b' Branch acl conflicting deny' | |||||
1985 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1985 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
1986 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
1986 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 | |
1987 | bundle2-output-bundle: "HG20", 5 parts total |
|
1987 | bundle2-output-bundle: "HG20", 5 parts total | |
1988 |
bundle2-output-part: "replycaps" 1 |
|
1988 | bundle2-output-part: "replycaps" 178 bytes payload | |
1989 | bundle2-output-part: "check:phases" 48 bytes payload |
|
1989 | bundle2-output-part: "check:phases" 48 bytes payload | |
1990 | bundle2-output-part: "check:heads" streamed payload |
|
1990 | bundle2-output-part: "check:heads" streamed payload | |
1991 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1991 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
1992 | bundle2-output-part: "phase-heads" 48 bytes payload |
|
1992 | bundle2-output-part: "phase-heads" 48 bytes payload | |
1993 | bundle2-input-bundle: with-transaction |
|
1993 | bundle2-input-bundle: with-transaction | |
1994 | bundle2-input-part: "replycaps" supported |
|
1994 | bundle2-input-part: "replycaps" supported | |
1995 |
bundle2-input-part: total payload size 1 |
|
1995 | bundle2-input-part: total payload size 178 | |
1996 | bundle2-input-part: "check:phases" supported |
|
1996 | bundle2-input-part: "check:phases" supported | |
1997 | bundle2-input-part: total payload size 48 |
|
1997 | bundle2-input-part: total payload size 48 | |
1998 | bundle2-input-part: "check:heads" supported |
|
1998 | bundle2-input-part: "check:heads" supported | |
@@ -2057,14 +2057,14 b" User 'astro' must not be denied" | |||||
2057 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
2057 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
2058 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
2058 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 | |
2059 | bundle2-output-bundle: "HG20", 5 parts total |
|
2059 | bundle2-output-bundle: "HG20", 5 parts total | |
2060 |
bundle2-output-part: "replycaps" 1 |
|
2060 | bundle2-output-part: "replycaps" 178 bytes payload | |
2061 | bundle2-output-part: "check:phases" 48 bytes payload |
|
2061 | bundle2-output-part: "check:phases" 48 bytes payload | |
2062 | bundle2-output-part: "check:heads" streamed payload |
|
2062 | bundle2-output-part: "check:heads" streamed payload | |
2063 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
2063 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
2064 | bundle2-output-part: "phase-heads" 48 bytes payload |
|
2064 | bundle2-output-part: "phase-heads" 48 bytes payload | |
2065 | bundle2-input-bundle: with-transaction |
|
2065 | bundle2-input-bundle: with-transaction | |
2066 | bundle2-input-part: "replycaps" supported |
|
2066 | bundle2-input-part: "replycaps" supported | |
2067 |
bundle2-input-part: total payload size 1 |
|
2067 | bundle2-input-part: total payload size 178 | |
2068 | bundle2-input-part: "check:phases" supported |
|
2068 | bundle2-input-part: "check:phases" supported | |
2069 | bundle2-input-part: total payload size 48 |
|
2069 | bundle2-input-part: total payload size 48 | |
2070 | bundle2-input-part: "check:heads" supported |
|
2070 | bundle2-input-part: "check:heads" supported | |
@@ -2139,14 +2139,14 b' Non-astro users must be denied' | |||||
2139 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
2139 | 911600dab2ae7a9baff75958b84fe606851ce955 | |
2140 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
2140 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 | |
2141 | bundle2-output-bundle: "HG20", 5 parts total |
|
2141 | bundle2-output-bundle: "HG20", 5 parts total | |
2142 |
bundle2-output-part: "replycaps" 1 |
|
2142 | bundle2-output-part: "replycaps" 178 bytes payload | |
2143 | bundle2-output-part: "check:phases" 48 bytes payload |
|
2143 | bundle2-output-part: "check:phases" 48 bytes payload | |
2144 | bundle2-output-part: "check:heads" streamed payload |
|
2144 | bundle2-output-part: "check:heads" streamed payload | |
2145 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
2145 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | |
2146 | bundle2-output-part: "phase-heads" 48 bytes payload |
|
2146 | bundle2-output-part: "phase-heads" 48 bytes payload | |
2147 | bundle2-input-bundle: with-transaction |
|
2147 | bundle2-input-bundle: with-transaction | |
2148 | bundle2-input-part: "replycaps" supported |
|
2148 | bundle2-input-part: "replycaps" supported | |
2149 |
bundle2-input-part: total payload size 1 |
|
2149 | bundle2-input-part: total payload size 178 | |
2150 | bundle2-input-part: "check:phases" supported |
|
2150 | bundle2-input-part: "check:phases" supported | |
2151 | bundle2-input-part: total payload size 48 |
|
2151 | bundle2-input-part: total payload size 48 | |
2152 | bundle2-input-part: "check:heads" supported |
|
2152 | bundle2-input-part: "check:heads" supported |
@@ -112,25 +112,31 b' delete a remote bookmark' | |||||
112 | checking for updated bookmarks |
|
112 | checking for updated bookmarks | |
113 | listing keys for "bookmarks" |
|
113 | listing keys for "bookmarks" | |
114 | no changes found |
|
114 | no changes found | |
115 |
bundle2-output-bundle: "HG20", |
|
115 | bundle2-output-bundle: "HG20", 4 parts total | |
116 | bundle2-output: start emission of HG20 stream |
|
116 | bundle2-output: start emission of HG20 stream | |
117 | bundle2-output: bundle parameter: |
|
117 | bundle2-output: bundle parameter: | |
118 | bundle2-output: start of parts |
|
118 | bundle2-output: start of parts | |
119 | bundle2-output: bundle part: "replycaps" |
|
119 | bundle2-output: bundle part: "replycaps" | |
120 |
bundle2-output-part: "replycaps" 1 |
|
120 | bundle2-output-part: "replycaps" 195 bytes payload | |
121 | bundle2-output: part 0: "REPLYCAPS" |
|
121 | bundle2-output: part 0: "REPLYCAPS" | |
122 | bundle2-output: header chunk size: 16 |
|
122 | bundle2-output: header chunk size: 16 | |
123 |
bundle2-output: payload chunk size: 1 |
|
123 | bundle2-output: payload chunk size: 195 | |
|
124 | bundle2-output: closing payload chunk | |||
|
125 | bundle2-output: bundle part: "check:bookmarks" | |||
|
126 | bundle2-output-part: "check:bookmarks" 23 bytes payload | |||
|
127 | bundle2-output: part 1: "CHECK:BOOKMARKS" | |||
|
128 | bundle2-output: header chunk size: 22 | |||
|
129 | bundle2-output: payload chunk size: 23 | |||
124 | bundle2-output: closing payload chunk |
|
130 | bundle2-output: closing payload chunk | |
125 | bundle2-output: bundle part: "check:phases" |
|
131 | bundle2-output: bundle part: "check:phases" | |
126 | bundle2-output-part: "check:phases" 48 bytes payload |
|
132 | bundle2-output-part: "check:phases" 48 bytes payload | |
127 |
bundle2-output: part |
|
133 | bundle2-output: part 2: "CHECK:PHASES" | |
128 | bundle2-output: header chunk size: 19 |
|
134 | bundle2-output: header chunk size: 19 | |
129 | bundle2-output: payload chunk size: 48 |
|
135 | bundle2-output: payload chunk size: 48 | |
130 | bundle2-output: closing payload chunk |
|
136 | bundle2-output: closing payload chunk | |
131 | bundle2-output: bundle part: "pushkey" |
|
137 | bundle2-output: bundle part: "pushkey" | |
132 | bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload |
|
138 | bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload | |
133 |
bundle2-output: part |
|
139 | bundle2-output: part 3: "PUSHKEY" | |
134 | bundle2-output: header chunk size: 90 |
|
140 | bundle2-output: header chunk size: 90 | |
135 | bundle2-output: closing payload chunk |
|
141 | bundle2-output: closing payload chunk | |
136 | bundle2-output: end of bundle |
|
142 | bundle2-output: end of bundle | |
@@ -144,12 +150,21 b' delete a remote bookmark' | |||||
144 | bundle2-input: part parameters: 0 |
|
150 | bundle2-input: part parameters: 0 | |
145 | bundle2-input: found a handler for part replycaps |
|
151 | bundle2-input: found a handler for part replycaps | |
146 | bundle2-input-part: "replycaps" supported |
|
152 | bundle2-input-part: "replycaps" supported | |
147 |
bundle2-input: payload chunk size: 1 |
|
153 | bundle2-input: payload chunk size: 195 | |
148 | bundle2-input: payload chunk size: 0 |
|
154 | bundle2-input: payload chunk size: 0 | |
149 |
bundle2-input-part: total payload size 1 |
|
155 | bundle2-input-part: total payload size 195 | |
|
156 | bundle2-input: part header size: 22 | |||
|
157 | bundle2-input: part type: "CHECK:BOOKMARKS" | |||
|
158 | bundle2-input: part id: "1" | |||
|
159 | bundle2-input: part parameters: 0 | |||
|
160 | bundle2-input: found a handler for part check:bookmarks | |||
|
161 | bundle2-input-part: "check:bookmarks" supported | |||
|
162 | bundle2-input: payload chunk size: 23 | |||
|
163 | bundle2-input: payload chunk size: 0 | |||
|
164 | bundle2-input-part: total payload size 23 | |||
150 | bundle2-input: part header size: 19 |
|
165 | bundle2-input: part header size: 19 | |
151 | bundle2-input: part type: "CHECK:PHASES" |
|
166 | bundle2-input: part type: "CHECK:PHASES" | |
152 |
bundle2-input: part id: " |
|
167 | bundle2-input: part id: "2" | |
153 | bundle2-input: part parameters: 0 |
|
168 | bundle2-input: part parameters: 0 | |
154 | bundle2-input: found a handler for part check:phases |
|
169 | bundle2-input: found a handler for part check:phases | |
155 | bundle2-input-part: "check:phases" supported |
|
170 | bundle2-input-part: "check:phases" supported | |
@@ -158,7 +173,7 b' delete a remote bookmark' | |||||
158 | bundle2-input-part: total payload size 48 |
|
173 | bundle2-input-part: total payload size 48 | |
159 | bundle2-input: part header size: 90 |
|
174 | bundle2-input: part header size: 90 | |
160 | bundle2-input: part type: "PUSHKEY" |
|
175 | bundle2-input: part type: "PUSHKEY" | |
161 |
bundle2-input: part id: " |
|
176 | bundle2-input: part id: "3" | |
162 | bundle2-input: part parameters: 4 |
|
177 | bundle2-input: part parameters: 4 | |
163 | bundle2-input: found a handler for part pushkey |
|
178 | bundle2-input: found a handler for part pushkey | |
164 | bundle2-input-part: "pushkey" (params: 4 mandatory) supported |
|
179 | bundle2-input-part: "pushkey" (params: 4 mandatory) supported | |
@@ -166,7 +181,7 b' delete a remote bookmark' | |||||
166 | bundle2-input: payload chunk size: 0 |
|
181 | bundle2-input: payload chunk size: 0 | |
167 | bundle2-input: part header size: 0 |
|
182 | bundle2-input: part header size: 0 | |
168 | bundle2-input: end of bundle2 stream |
|
183 | bundle2-input: end of bundle2 stream | |
169 |
bundle2-input-bundle: |
|
184 | bundle2-input-bundle: 3 parts total | |
170 | running hook txnclose-bookmark.test: sh $TESTTMP/hook.sh |
|
185 | running hook txnclose-bookmark.test: sh $TESTTMP/hook.sh | |
171 | test-hook-bookmark: W: 0000000000000000000000000000000000000000 -> |
|
186 | test-hook-bookmark: W: 0000000000000000000000000000000000000000 -> | |
172 | bundle2-output-bundle: "HG20", 1 parts total |
|
187 | bundle2-output-bundle: "HG20", 1 parts total |
@@ -204,6 +204,7 b' Test debugcapabilities command:' | |||||
204 | unbundle |
|
204 | unbundle | |
205 | Bundle2 capabilities: |
|
205 | Bundle2 capabilities: | |
206 | HG20 |
|
206 | HG20 | |
|
207 | bookmarks | |||
207 | changegroup |
|
208 | changegroup | |
208 | 01 |
|
209 | 01 | |
209 | 02 |
|
210 | 02 |
@@ -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: Fri, 14 Apr 2017 00:00:00 GMT\r\n |
|
119 | write(37) -> Date: Fri, 14 Apr 2017 00:00:00 GMT\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: 4 |
|
121 | write(21) -> Content-Length: 417\r\n | |
122 | write(2) -> \r\n |
|
122 | write(2) -> \r\n | |
123 |
write(4 |
|
123 | write(417) -> lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch 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 | |
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 | |
@@ -157,9 +157,10 b' Failure to read getbundle HTTP request' | |||||
157 | write(23) -> Server: badhttpserver\r\n |
|
157 | write(23) -> Server: badhttpserver\r\n | |
158 | write(37) -> Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n |
|
158 | write(37) -> Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n | |
159 | write(41) -> Content-Type: application/mercurial-0.1\r\n |
|
159 | write(41) -> Content-Type: application/mercurial-0.1\r\n | |
160 | write(21) -> Content-Length: 405\r\n |
|
160 | readline(1 from -1) -> (1) x (?) | |
|
161 | write(21) -> Content-Length: 417\r\n | |||
161 | write(2) -> \r\n |
|
162 | write(2) -> \r\n | |
162 |
write(4 |
|
163 | write(417) -> lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch 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 | |
163 | readline\(12[34] from 65537\) -> \(2[67]\) GET /\?cmd=batch HTTP/1.1\\r\\n (re) |
|
164 | readline\(12[34] from 65537\) -> \(2[67]\) GET /\?cmd=batch HTTP/1.1\\r\\n (re) | |
164 | readline(9? from -1) -> (27) Accept-Encoding: identity\r\n (glob) |
|
165 | readline(9? from -1) -> (27) Accept-Encoding: identity\r\n (glob) | |
165 | readline(7? from -1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob) |
|
166 | readline(7? from -1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n (glob) | |
@@ -187,7 +188,7 b' Failure to read getbundle HTTP request' | |||||
187 | readline(292 from 65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n |
|
188 | readline(292 from 65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n | |
188 | readline(262 from -1) -> (27) Accept-Encoding: identity\r\n |
|
189 | readline(262 from -1) -> (27) Accept-Encoding: identity\r\n | |
189 | readline(235 from -1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n |
|
190 | readline(235 from -1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n | |
190 |
readline(206 from -1) -> (206) x-hgarg-1: bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtag |
|
191 | readline(206 from -1) -> (206) x-hgarg-1: bundlecaps=HG20%2Cbundle2%3DHG20%250Abookmarks%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtag | |
191 | read limit reached; closing socket |
|
192 | read limit reached; closing socket | |
192 |
|
193 | |||
193 | $ rm -f error.log |
|
194 | $ rm -f error.log | |
@@ -214,9 +215,9 b' Now do a variation using POST to send ar' | |||||
214 | write(23) -> Server: badhttpserver\r\n |
|
215 | write(23) -> Server: badhttpserver\r\n | |
215 | write(37) -> Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n |
|
216 | write(37) -> Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n | |
216 | write(41) -> Content-Type: application/mercurial-0.1\r\n |
|
217 | write(41) -> Content-Type: application/mercurial-0.1\r\n | |
217 |
write(21) -> Content-Length: 4 |
|
218 | write(21) -> Content-Length: 430\r\n | |
218 | write(2) -> \r\n |
|
219 | write(2) -> \r\n | |
219 |
write(4 |
|
220 | write(430) -> lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch 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 | |
220 | readline\(14[67] from 65537\) -> \(2[67]\) POST /\?cmd=batch HTTP/1.1\\r\\n (re) |
|
221 | readline\(14[67] from 65537\) -> \(2[67]\) POST /\?cmd=batch HTTP/1.1\\r\\n (re) | |
221 | readline\(1(19|20) from -1\) -> \(27\) Accept-Encoding: identity\\r\\n (re) |
|
222 | readline\(1(19|20) from -1\) -> \(27\) Accept-Encoding: identity\\r\\n (re) | |
222 | readline(9? from -1) -> (41) content-type: application/mercurial-0.1\r\n (glob) |
|
223 | readline(9? from -1) -> (41) content-type: application/mercurial-0.1\r\n (glob) | |
@@ -273,7 +274,7 b' Server sends an incomplete capabilities ' | |||||
273 | $ cat hg.pid > $DAEMON_PIDS |
|
274 | $ cat hg.pid > $DAEMON_PIDS | |
274 |
|
275 | |||
275 | $ hg clone http://localhost:$HGPORT/ clone |
|
276 | $ hg clone http://localhost:$HGPORT/ clone | |
276 |
abort: HTTP request error (incomplete response; expected 3 |
|
277 | abort: HTTP request error (incomplete response; expected 397 bytes got 20) | |
277 | (this may be an intermittent network failure; if the error persists, consider contacting the network or server operator) |
|
278 | (this may be an intermittent network failure; if the error persists, consider contacting the network or server operator) | |
278 | [255] |
|
279 | [255] | |
279 |
|
280 | |||
@@ -290,9 +291,9 b' Server sends an incomplete capabilities ' | |||||
290 | write(23 from 23) -> (121) Server: badhttpserver\r\n |
|
291 | write(23 from 23) -> (121) Server: badhttpserver\r\n | |
291 | write(37 from 37) -> (84) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n |
|
292 | write(37 from 37) -> (84) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n | |
292 | write(41 from 41) -> (43) Content-Type: application/mercurial-0.1\r\n |
|
293 | write(41 from 41) -> (43) Content-Type: application/mercurial-0.1\r\n | |
293 |
write(21 from 21) -> (22) Content-Length: 4 |
|
294 | write(21 from 21) -> (22) Content-Length: 417\r\n | |
294 | write(2 from 2) -> (20) \r\n |
|
295 | write(2 from 2) -> (20) \r\n | |
295 |
write(20 from 4 |
|
296 | write(20 from 417) -> (0) lookup changegroupsu | |
296 | write limit reached; closing socket |
|
297 | write limit reached; closing socket | |
297 |
|
298 | |||
298 | $ rm -f error.log |
|
299 | $ rm -f error.log | |
@@ -306,7 +307,7 b' TODO this output is horrible' | |||||
306 |
|
307 | |||
307 | $ hg clone http://localhost:$HGPORT/ clone |
|
308 | $ hg clone http://localhost:$HGPORT/ clone | |
308 | abort: 'http://localhost:$HGPORT/' does not appear to be an hg repository: |
|
309 | abort: 'http://localhost:$HGPORT/' does not appear to be an hg repository: | |
309 |
---%<--- (applicat |
|
310 | ---%<--- (applicat) | |
310 |
|
311 | |||
311 | ---%<--- |
|
312 | ---%<--- | |
312 | ! |
|
313 | ! | |
@@ -325,9 +326,9 b' TODO this output is horrible' | |||||
325 | write(23 from 23) -> (636) Server: badhttpserver\r\n |
|
326 | write(23 from 23) -> (636) Server: badhttpserver\r\n | |
326 | write(37 from 37) -> (599) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n |
|
327 | write(37 from 37) -> (599) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n | |
327 | write(41 from 41) -> (558) Content-Type: application/mercurial-0.1\r\n |
|
328 | write(41 from 41) -> (558) Content-Type: application/mercurial-0.1\r\n | |
328 |
write(21 from 21) -> (537) Content-Length: 4 |
|
329 | write(21 from 21) -> (537) Content-Length: 417\r\n | |
329 | write(2 from 2) -> (535) \r\n |
|
330 | write(2 from 2) -> (535) \r\n | |
330 |
write(4 |
|
331 | write(417 from 417) -> (118) lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch 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 | |
331 | readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n |
|
332 | readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n | |
332 | readline(-1) -> (27) Accept-Encoding: identity\r\n |
|
333 | readline(-1) -> (27) Accept-Encoding: identity\r\n | |
333 | readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n |
|
334 | readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n | |
@@ -337,10 +338,10 b' TODO this output is horrible' | |||||
337 | readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
338 | readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob) | |
338 | readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n |
|
339 | readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n | |
339 | readline(-1) -> (2) \r\n |
|
340 | readline(-1) -> (2) \r\n | |
340 |
write(36 from 36) -> ( |
|
341 | write(36 from 36) -> (82) HTTP/1.1 200 Script output follows\r\n | |
341 |
write(23 from 23) -> ( |
|
342 | write(23 from 23) -> (59) Server: badhttpserver\r\n | |
342 |
write(37 from 37) -> ( |
|
343 | write(37 from 37) -> (22) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n | |
343 |
write( |
|
344 | write(22 from 41) -> (0) Content-Type: applicat | |
344 | write limit reached; closing socket |
|
345 | write limit reached; closing socket | |
345 | write(36) -> HTTP/1.1 500 Internal Server Error\r\n |
|
346 | write(36) -> HTTP/1.1 500 Internal Server Error\r\n | |
346 |
|
347 | |||
@@ -373,9 +374,9 b' TODO client spews a stack due to uncaugh' | |||||
373 | write(23 from 23) -> (701) Server: badhttpserver\r\n |
|
374 | write(23 from 23) -> (701) Server: badhttpserver\r\n | |
374 | write(37 from 37) -> (664) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n |
|
375 | write(37 from 37) -> (664) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n | |
375 | write(41 from 41) -> (623) Content-Type: application/mercurial-0.1\r\n |
|
376 | write(41 from 41) -> (623) Content-Type: application/mercurial-0.1\r\n | |
376 |
write(21 from 21) -> (602) Content-Length: 4 |
|
377 | write(21 from 21) -> (602) Content-Length: 417\r\n | |
377 | write(2 from 2) -> (600) \r\n |
|
378 | write(2 from 2) -> (600) \r\n | |
378 |
write(4 |
|
379 | write(417 from 417) -> (183) lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch 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 | |
379 | readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n |
|
380 | readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n | |
380 | readline(-1) -> (27) Accept-Encoding: identity\r\n |
|
381 | readline(-1) -> (27) Accept-Encoding: identity\r\n | |
381 | readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n |
|
382 | readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n | |
@@ -385,13 +386,13 b' TODO client spews a stack due to uncaugh' | |||||
385 | readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
386 | readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob) | |
386 | readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n |
|
387 | readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n | |
387 | readline(-1) -> (2) \r\n |
|
388 | readline(-1) -> (2) \r\n | |
388 |
write(36 from 36) -> (1 |
|
389 | write(36 from 36) -> (147) HTTP/1.1 200 Script output follows\r\n | |
389 |
write(23 from 23) -> (1 |
|
390 | write(23 from 23) -> (124) Server: badhttpserver\r\n | |
390 |
write(37 from 37) -> ( |
|
391 | write(37 from 37) -> (87) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n | |
391 |
write(41 from 41) -> ( |
|
392 | write(41 from 41) -> (46) Content-Type: application/mercurial-0.1\r\n | |
392 |
write(20 from 20) -> ( |
|
393 | write(20 from 20) -> (26) Content-Length: 42\r\n | |
393 |
write(2 from 2) -> ( |
|
394 | write(2 from 2) -> (24) \r\n | |
394 |
write( |
|
395 | write(24 from 42) -> (0) 96ee1d7354c4ad7372047672 | |
395 | write limit reached; closing socket |
|
396 | write limit reached; closing socket | |
396 |
|
397 | |||
397 | $ rm -f error.log |
|
398 | $ rm -f error.log | |
@@ -406,7 +407,7 b' TODO this output is terrible' | |||||
406 | $ hg clone http://localhost:$HGPORT/ clone |
|
407 | $ hg clone http://localhost:$HGPORT/ clone | |
407 | requesting all changes |
|
408 | requesting all changes | |
408 | abort: 'http://localhost:$HGPORT/' does not appear to be an hg repository: |
|
409 | abort: 'http://localhost:$HGPORT/' does not appear to be an hg repository: | |
409 |
---%<--- (applica |
|
410 | ---%<--- (applica) | |
410 |
|
411 | |||
411 | ---%<--- |
|
412 | ---%<--- | |
412 | ! |
|
413 | ! | |
@@ -425,9 +426,9 b' TODO this output is terrible' | |||||
425 | write(23 from 23) -> (836) Server: badhttpserver\r\n |
|
426 | write(23 from 23) -> (836) Server: badhttpserver\r\n | |
426 | write(37 from 37) -> (799) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n |
|
427 | write(37 from 37) -> (799) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n | |
427 | write(41 from 41) -> (758) Content-Type: application/mercurial-0.1\r\n |
|
428 | write(41 from 41) -> (758) Content-Type: application/mercurial-0.1\r\n | |
428 |
write(21 from 21) -> (737) Content-Length: 4 |
|
429 | write(21 from 21) -> (737) Content-Length: 417\r\n | |
429 | write(2 from 2) -> (735) \r\n |
|
430 | write(2 from 2) -> (735) \r\n | |
430 |
write(4 |
|
431 | write(417 from 417) -> (318) lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch 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 | |
431 | readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n |
|
432 | readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n | |
432 | readline(-1) -> (27) Accept-Encoding: identity\r\n |
|
433 | readline(-1) -> (27) Accept-Encoding: identity\r\n | |
433 | readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n |
|
434 | readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n | |
@@ -437,26 +438,26 b' TODO this output is terrible' | |||||
437 | readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
438 | readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob) | |
438 | readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n |
|
439 | readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n | |
439 | readline(-1) -> (2) \r\n |
|
440 | readline(-1) -> (2) \r\n | |
440 |
write(36 from 36) -> (2 |
|
441 | write(36 from 36) -> (282) HTTP/1.1 200 Script output follows\r\n | |
441 |
write(23 from 23) -> (2 |
|
442 | write(23 from 23) -> (259) Server: badhttpserver\r\n | |
442 |
write(37 from 37) -> (2 |
|
443 | write(37 from 37) -> (222) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n | |
443 |
write(41 from 41) -> (1 |
|
444 | write(41 from 41) -> (181) Content-Type: application/mercurial-0.1\r\n | |
444 |
write(20 from 20) -> (1 |
|
445 | write(20 from 20) -> (161) Content-Length: 42\r\n | |
445 |
write(2 from 2) -> (1 |
|
446 | write(2 from 2) -> (159) \r\n | |
446 |
write(42 from 42) -> (1 |
|
447 | write(42 from 42) -> (117) 96ee1d7354c4ad7372047672c36a1f561e3a6a4c\n; | |
447 | readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n |
|
448 | readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n | |
448 | readline(-1) -> (27) Accept-Encoding: identity\r\n |
|
449 | readline(-1) -> (27) Accept-Encoding: identity\r\n | |
449 | readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n |
|
450 | readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n | |
450 |
readline(-1) -> ( |
|
451 | readline(-1) -> (410) x-hgarg-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&cg=1&common=0000000000000000000000000000000000000000&heads=96ee1d7354c4ad7372047672c36a1f561e3a6a4c&listkeys=phases%2Cbookmarks\r\n | |
451 | readline(-1) -> (48) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n |
|
452 | readline(-1) -> (48) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n | |
452 | readline(-1) -> (35) accept: application/mercurial-0.1\r\n |
|
453 | readline(-1) -> (35) accept: application/mercurial-0.1\r\n | |
453 | readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
454 | readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob) | |
454 | readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n |
|
455 | readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n | |
455 | readline(-1) -> (2) \r\n |
|
456 | readline(-1) -> (2) \r\n | |
456 |
write(36 from 36) -> ( |
|
457 | write(36 from 36) -> (81) HTTP/1.1 200 Script output follows\r\n | |
457 |
write(23 from 23) -> ( |
|
458 | write(23 from 23) -> (58) Server: badhttpserver\r\n | |
458 |
write(37 from 37) -> ( |
|
459 | write(37 from 37) -> (21) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n | |
459 |
write( |
|
460 | write(21 from 41) -> (0) Content-Type: applica | |
460 | write limit reached; closing socket |
|
461 | write limit reached; closing socket | |
461 | write(36) -> HTTP/1.1 500 Internal Server Error\r\n |
|
462 | write(36) -> HTTP/1.1 500 Internal Server Error\r\n | |
462 |
|
463 | |||
@@ -464,7 +465,7 b' TODO this output is terrible' | |||||
464 |
|
465 | |||
465 | Server sends empty HTTP body for getbundle |
|
466 | Server sends empty HTTP body for getbundle | |
466 |
|
467 | |||
467 |
$ hg serve --config badserver.closeaftersendbytes=9 |
|
468 | $ hg serve --config badserver.closeaftersendbytes=945 -p $HGPORT -d --pid-file=hg.pid -E error.log | |
468 | $ cat hg.pid > $DAEMON_PIDS |
|
469 | $ cat hg.pid > $DAEMON_PIDS | |
469 |
|
470 | |||
470 | $ hg clone http://localhost:$HGPORT/ clone |
|
471 | $ hg clone http://localhost:$HGPORT/ clone | |
@@ -482,13 +483,13 b' Server sends empty HTTP body for getbund' | |||||
482 | readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
483 | readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob) | |
483 | readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n |
|
484 | readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n | |
484 | readline(-1) -> (2) \r\n |
|
485 | readline(-1) -> (2) \r\n | |
485 |
write(36 from 36) -> ( |
|
486 | write(36 from 36) -> (909) HTTP/1.1 200 Script output follows\r\n | |
486 |
write(23 from 23) -> (8 |
|
487 | write(23 from 23) -> (886) Server: badhttpserver\r\n | |
487 |
write(37 from 37) -> (8 |
|
488 | write(37 from 37) -> (849) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n | |
488 |
write(41 from 41) -> ( |
|
489 | write(41 from 41) -> (808) Content-Type: application/mercurial-0.1\r\n | |
489 |
write(21 from 21) -> (77 |
|
490 | write(21 from 21) -> (787) Content-Length: 417\r\n | |
490 |
write(2 from 2) -> (7 |
|
491 | write(2 from 2) -> (785) \r\n | |
491 |
write(4 |
|
492 | write(417 from 417) -> (368) lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch 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 | |
492 | readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n |
|
493 | readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n | |
493 | readline(-1) -> (27) Accept-Encoding: identity\r\n |
|
494 | readline(-1) -> (27) Accept-Encoding: identity\r\n | |
494 | readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n |
|
495 | readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n | |
@@ -508,7 +509,7 b' Server sends empty HTTP body for getbund' | |||||
508 | readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n |
|
509 | readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n | |
509 | readline(-1) -> (27) Accept-Encoding: identity\r\n |
|
510 | readline(-1) -> (27) Accept-Encoding: identity\r\n | |
510 | readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n |
|
511 | readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n | |
511 |
readline(-1) -> ( |
|
512 | readline(-1) -> (410) x-hgarg-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&cg=1&common=0000000000000000000000000000000000000000&heads=96ee1d7354c4ad7372047672c36a1f561e3a6a4c&listkeys=phases%2Cbookmarks\r\n | |
512 | readline(-1) -> (48) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n |
|
513 | readline(-1) -> (48) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n | |
513 | readline(-1) -> (35) accept: application/mercurial-0.1\r\n |
|
514 | readline(-1) -> (35) accept: application/mercurial-0.1\r\n | |
514 | readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
515 | readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob) | |
@@ -527,7 +528,7 b' Server sends empty HTTP body for getbund' | |||||
527 |
|
528 | |||
528 | Server sends partial compression string |
|
529 | Server sends partial compression string | |
529 |
|
530 | |||
530 |
$ hg serve --config badserver.closeaftersendbytes=9 |
|
531 | $ hg serve --config badserver.closeaftersendbytes=957 -p $HGPORT -d --pid-file=hg.pid -E error.log | |
531 | $ cat hg.pid > $DAEMON_PIDS |
|
532 | $ cat hg.pid > $DAEMON_PIDS | |
532 |
|
533 | |||
533 | $ hg clone http://localhost:$HGPORT/ clone |
|
534 | $ hg clone http://localhost:$HGPORT/ clone | |
@@ -545,13 +546,13 b' Server sends partial compression string' | |||||
545 | readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
546 | readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob) | |
546 | readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n |
|
547 | readline(-1) -> (49) user-agent: mercurial/proto-1.0 (Mercurial 4.2)\r\n | |
547 | readline(-1) -> (2) \r\n |
|
548 | readline(-1) -> (2) \r\n | |
548 |
write(36 from 36) -> (9 |
|
549 | write(36 from 36) -> (921) HTTP/1.1 200 Script output follows\r\n | |
549 |
write(23 from 23) -> (88 |
|
550 | write(23 from 23) -> (898) Server: badhttpserver\r\n | |
550 |
write(37 from 37) -> (8 |
|
551 | write(37 from 37) -> (861) Date: Fri, 14 Apr 2017 00:00:00 GMT\r\n | |
551 |
write(41 from 41) -> (80 |
|
552 | write(41 from 41) -> (820) Content-Type: application/mercurial-0.1\r\n | |
552 |
write(21 from 21) -> (7 |
|
553 | write(21 from 21) -> (799) Content-Length: 417\r\n | |
553 |
write(2 from 2) -> (7 |
|
554 | write(2 from 2) -> (797) \r\n | |
554 |
write(4 |
|
555 | write(417 from 417) -> (380) lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch 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 | |
555 | readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n |
|
556 | readline(65537) -> (26) GET /?cmd=batch HTTP/1.1\r\n | |
556 | readline(-1) -> (27) Accept-Encoding: identity\r\n |
|
557 | readline(-1) -> (27) Accept-Encoding: identity\r\n | |
557 | readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n |
|
558 | readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n | |
@@ -571,7 +572,7 b' Server sends partial compression string' | |||||
571 | readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n |
|
572 | readline(65537) -> (30) GET /?cmd=getbundle HTTP/1.1\r\n | |
572 | readline(-1) -> (27) Accept-Encoding: identity\r\n |
|
573 | readline(-1) -> (27) Accept-Encoding: identity\r\n | |
573 | readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n |
|
574 | readline(-1) -> (29) vary: X-HgArg-1,X-HgProto-1\r\n | |
574 |
readline(-1) -> ( |
|
575 | readline(-1) -> (410) x-hgarg-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&cg=1&common=0000000000000000000000000000000000000000&heads=96ee1d7354c4ad7372047672c36a1f561e3a6a4c&listkeys=phases%2Cbookmarks\r\n | |
575 | readline(-1) -> (48) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n |
|
576 | readline(-1) -> (48) x-hgproto-1: 0.1 0.2 comp=$USUAL_COMPRESSIONS$\r\n | |
576 | readline(-1) -> (35) accept: application/mercurial-0.1\r\n |
|
577 | readline(-1) -> (35) accept: application/mercurial-0.1\r\n | |
577 | readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob) |
|
578 | readline(-1) -> (2?) host: localhost:$HGPORT\r\n (glob) | |
@@ -592,7 +593,7 b' Server sends partial compression string' | |||||
592 |
|
593 | |||
593 | Server sends partial bundle2 header magic |
|
594 | Server sends partial bundle2 header magic | |
594 |
|
595 | |||
595 |
$ hg serve --config badserver.closeaftersendbytes=9 |
|
596 | $ hg serve --config badserver.closeaftersendbytes=966 -p $HGPORT -d --pid-file=hg.pid -E error.log | |
596 | $ cat hg.pid > $DAEMON_PIDS |
|
597 | $ cat hg.pid > $DAEMON_PIDS | |
597 |
|
598 | |||
598 | $ hg clone http://localhost:$HGPORT/ clone |
|
599 | $ hg clone http://localhost:$HGPORT/ clone | |
@@ -616,7 +617,7 b' Server sends partial bundle2 header magi' | |||||
616 |
|
617 | |||
617 | Server sends incomplete bundle2 stream params length |
|
618 | Server sends incomplete bundle2 stream params length | |
618 |
|
619 | |||
619 |
$ hg serve --config badserver.closeaftersendbytes=9 |
|
620 | $ hg serve --config badserver.closeaftersendbytes=975 -p $HGPORT -d --pid-file=hg.pid -E error.log | |
620 | $ cat hg.pid > $DAEMON_PIDS |
|
621 | $ cat hg.pid > $DAEMON_PIDS | |
621 |
|
622 | |||
622 | $ hg clone http://localhost:$HGPORT/ clone |
|
623 | $ hg clone http://localhost:$HGPORT/ clone | |
@@ -641,7 +642,7 b' Server sends incomplete bundle2 stream p' | |||||
641 |
|
642 | |||
642 | Servers stops after bundle2 stream params header |
|
643 | Servers stops after bundle2 stream params header | |
643 |
|
644 | |||
644 |
$ hg serve --config badserver.closeaftersendbytes=9 |
|
645 | $ hg serve --config badserver.closeaftersendbytes=978 -p $HGPORT -d --pid-file=hg.pid -E error.log | |
645 | $ cat hg.pid > $DAEMON_PIDS |
|
646 | $ cat hg.pid > $DAEMON_PIDS | |
646 |
|
647 | |||
647 | $ hg clone http://localhost:$HGPORT/ clone |
|
648 | $ hg clone http://localhost:$HGPORT/ clone | |
@@ -666,7 +667,7 b' Servers stops after bundle2 stream param' | |||||
666 |
|
667 | |||
667 | Server stops sending after bundle2 part header length |
|
668 | Server stops sending after bundle2 part header length | |
668 |
|
669 | |||
669 |
$ hg serve --config badserver.closeaftersendbytes=97 |
|
670 | $ hg serve --config badserver.closeaftersendbytes=987 -p $HGPORT -d --pid-file=hg.pid -E error.log | |
670 | $ cat hg.pid > $DAEMON_PIDS |
|
671 | $ cat hg.pid > $DAEMON_PIDS | |
671 |
|
672 | |||
672 | $ hg clone http://localhost:$HGPORT/ clone |
|
673 | $ hg clone http://localhost:$HGPORT/ clone | |
@@ -692,7 +693,7 b' Server stops sending after bundle2 part ' | |||||
692 |
|
693 | |||
693 | Server stops sending after bundle2 part header |
|
694 | Server stops sending after bundle2 part header | |
694 |
|
695 | |||
695 |
$ hg serve --config badserver.closeaftersendbytes=10 |
|
696 | $ hg serve --config badserver.closeaftersendbytes=1034 -p $HGPORT -d --pid-file=hg.pid -E error.log | |
696 | $ cat hg.pid > $DAEMON_PIDS |
|
697 | $ cat hg.pid > $DAEMON_PIDS | |
697 |
|
698 | |||
698 | $ hg clone http://localhost:$HGPORT/ clone |
|
699 | $ hg clone http://localhost:$HGPORT/ clone | |
@@ -722,7 +723,7 b' Server stops sending after bundle2 part ' | |||||
722 |
|
723 | |||
723 | Server stops after bundle2 part payload chunk size |
|
724 | Server stops after bundle2 part payload chunk size | |
724 |
|
725 | |||
725 |
$ hg serve --config badserver.closeaftersendbytes=103 |
|
726 | $ hg serve --config badserver.closeaftersendbytes=1043 -p $HGPORT -d --pid-file=hg.pid -E error.log | |
726 | $ cat hg.pid > $DAEMON_PIDS |
|
727 | $ cat hg.pid > $DAEMON_PIDS | |
727 |
|
728 | |||
728 | $ hg clone http://localhost:$HGPORT/ clone |
|
729 | $ hg clone http://localhost:$HGPORT/ clone | |
@@ -753,7 +754,7 b' Server stops after bundle2 part payload ' | |||||
753 |
|
754 | |||
754 | Server stops sending in middle of bundle2 payload chunk |
|
755 | Server stops sending in middle of bundle2 payload chunk | |
755 |
|
756 | |||
756 |
$ hg serve --config badserver.closeaftersendbytes=15 |
|
757 | $ hg serve --config badserver.closeaftersendbytes=1516 -p $HGPORT -d --pid-file=hg.pid -E error.log | |
757 | $ cat hg.pid > $DAEMON_PIDS |
|
758 | $ cat hg.pid > $DAEMON_PIDS | |
758 |
|
759 | |||
759 | $ hg clone http://localhost:$HGPORT/ clone |
|
760 | $ hg clone http://localhost:$HGPORT/ clone | |
@@ -785,7 +786,7 b' Server stops sending in middle of bundle' | |||||
785 |
|
786 | |||
786 | Server stops sending after 0 length payload chunk size |
|
787 | Server stops sending after 0 length payload chunk size | |
787 |
|
788 | |||
788 |
$ hg serve --config badserver.closeaftersendbytes=15 |
|
789 | $ hg serve --config badserver.closeaftersendbytes=1525 -p $HGPORT -d --pid-file=hg.pid -E error.log | |
789 | $ cat hg.pid > $DAEMON_PIDS |
|
790 | $ cat hg.pid > $DAEMON_PIDS | |
790 |
|
791 | |||
791 | $ hg clone http://localhost:$HGPORT/ clone |
|
792 | $ hg clone http://localhost:$HGPORT/ clone | |
@@ -822,7 +823,7 b' Server stops sending after 0 length payl' | |||||
822 | Server stops sending after 0 part bundle part header (indicating end of bundle2 payload) |
|
823 | Server stops sending after 0 part bundle part header (indicating end of bundle2 payload) | |
823 | This is before the 0 size chunked transfer part that signals end of HTTP response. |
|
824 | This is before the 0 size chunked transfer part that signals end of HTTP response. | |
824 |
|
825 | |||
825 |
$ hg serve --config badserver.closeaftersendbytes=17 |
|
826 | $ hg serve --config badserver.closeaftersendbytes=1722 -p $HGPORT -d --pid-file=hg.pid -E error.log | |
826 | $ cat hg.pid > $DAEMON_PIDS |
|
827 | $ cat hg.pid > $DAEMON_PIDS | |
827 |
|
828 | |||
828 | $ hg clone http://localhost:$HGPORT/ clone |
|
829 | $ hg clone http://localhost:$HGPORT/ clone | |
@@ -866,7 +867,7 b' This is before the 0 size chunked transf' | |||||
866 |
|
867 | |||
867 | Server sends a size 0 chunked-transfer size without terminating \r\n |
|
868 | Server sends a size 0 chunked-transfer size without terminating \r\n | |
868 |
|
869 | |||
869 |
$ hg serve --config badserver.closeaftersendbytes=17 |
|
870 | $ hg serve --config badserver.closeaftersendbytes=1725 -p $HGPORT -d --pid-file=hg.pid -E error.log | |
870 | $ cat hg.pid > $DAEMON_PIDS |
|
871 | $ cat hg.pid > $DAEMON_PIDS | |
871 |
|
872 | |||
872 | $ hg clone http://localhost:$HGPORT/ clone |
|
873 | $ hg clone http://localhost:$HGPORT/ clone |
@@ -467,7 +467,7 b' debug output' | |||||
467 | running .* ".*/dummyssh" ['"]user@dummy['"] ('|")hg -R remote serve --stdio('|") (re) |
|
467 | running .* ".*/dummyssh" ['"]user@dummy['"] ('|")hg -R remote serve --stdio('|") (re) | |
468 | sending hello command |
|
468 | sending hello command | |
469 | sending between command |
|
469 | sending between command | |
470 |
remote: 3 |
|
470 | remote: 384 | |
471 | remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS$ unbundle=HG10GZ,HG10BZ,HG10UN |
|
471 | remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS$ unbundle=HG10GZ,HG10BZ,HG10UN | |
472 | remote: 1 |
|
472 | remote: 1 | |
473 | preparing listkeys for "bookmarks" |
|
473 | preparing listkeys for "bookmarks" |
@@ -483,7 +483,7 b' debug output' | |||||
483 | running .* ".*/dummyssh" ['"]user@dummy['"] ('|")hg -R remote serve --stdio('|") (re) |
|
483 | running .* ".*/dummyssh" ['"]user@dummy['"] ('|")hg -R remote serve --stdio('|") (re) | |
484 | sending hello command |
|
484 | sending hello command | |
485 | sending between command |
|
485 | sending between command | |
486 |
remote: 3 |
|
486 | remote: 384 | |
487 | remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS$ unbundle=HG10GZ,HG10BZ,HG10UN |
|
487 | remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch streamreqs=generaldelta,revlogv1 $USUAL_BUNDLE2_CAPS$ unbundle=HG10GZ,HG10BZ,HG10UN | |
488 | remote: 1 |
|
488 | remote: 1 | |
489 | query 1; heads |
|
489 | query 1; heads |
General Comments 0
You need to be logged in to leave comments.
Login now