Show More
@@ -1109,7 +1109,8 b' class unbundlepart(unpackermixin):' | |||
|
1109 | 1109 | # These are only the static capabilities. |
|
1110 | 1110 | # Check the 'getrepocaps' function for the rest. |
|
1111 | 1111 | capabilities = {'HG20': (), |
|
1112 |
'error': ('abort', 'unsupportedcontent', 'pushraced' |
|
|
1112 | 'error': ('abort', 'unsupportedcontent', 'pushraced', | |
|
1113 | 'pushkey'), | |
|
1113 | 1114 | 'listkeys': (), |
|
1114 | 1115 | 'pushkey': (), |
|
1115 | 1116 | 'digests': tuple(sorted(util.DIGESTS.keys())), |
@@ -1290,6 +1291,17 b' def handleerrorabort(op, inpart):' | |||
|
1290 | 1291 | """Used to transmit abort error over the wire""" |
|
1291 | 1292 | raise util.Abort(inpart.params['message'], hint=inpart.params.get('hint')) |
|
1292 | 1293 | |
|
1294 | @parthandler('error:pushkey', ('namespace', 'key', 'new', 'old', 'ret', | |
|
1295 | 'in-reply-to')) | |
|
1296 | def handleerrorpushkey(op, inpart): | |
|
1297 | """Used to transmit failure of a mandatory pushkey over the wire""" | |
|
1298 | kwargs = {} | |
|
1299 | for name in ('namespace', 'key', 'new', 'old', 'ret'): | |
|
1300 | value = inpart.params.get(name) | |
|
1301 | if value is not None: | |
|
1302 | kwargs[name] = value | |
|
1303 | raise error.PushkeyFailed(inpart.params['in-reply-to'], **kwargs) | |
|
1304 | ||
|
1293 | 1305 | @parthandler('error:unsupportedcontent', ('parttype', 'params')) |
|
1294 | 1306 | def handleerrorunsupportedcontent(op, inpart): |
|
1295 | 1307 | """Used to transmit unknown content error over the wire""" |
@@ -819,7 +819,27 b' def unbundle(repo, proto, heads):' | |||
|
819 | 819 | for out in getattr(exc, '_bundle2salvagedoutput', ()): |
|
820 | 820 | bundler.addpart(out) |
|
821 | 821 | try: |
|
822 |
|
|
|
822 | try: | |
|
823 | raise | |
|
824 | except error.PushkeyFailed, exc: | |
|
825 | # check client caps | |
|
826 | remotecaps = getattr(exc, '_replycaps', None) | |
|
827 | if (remotecaps is not None | |
|
828 | and 'pushkey' not in remotecaps.get('error', ())): | |
|
829 | # no support remote side, fallback to Abort handler. | |
|
830 | raise | |
|
831 | part = bundler.newpart('error:pushkey') | |
|
832 | part.addparam('in-reply-to', exc.partid) | |
|
833 | if exc.namespace is not None: | |
|
834 | part.addparam('namespace', exc.namespace, mandatory=False) | |
|
835 | if exc.key is not None: | |
|
836 | part.addparam('key', exc.key, mandatory=False) | |
|
837 | if exc.new is not None: | |
|
838 | part.addparam('new', exc.new, mandatory=False) | |
|
839 | if exc.old is not None: | |
|
840 | part.addparam('old', exc.old, mandatory=False) | |
|
841 | if exc.ret is not None: | |
|
842 | part.addparam('ret', exc.ret, mandatory=False) | |
|
823 | 843 | except error.BundleValueError, exc: |
|
824 | 844 | errpart = bundler.newpart('error:unsupportedcontent') |
|
825 | 845 | if exc.parttype is not None: |
@@ -99,13 +99,13 b' Extension disabled for lack of a hook' | |||
|
99 | 99 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
100 | 100 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
101 | 101 | bundle2-output-bundle: "HG20", 4 parts total |
|
102 |
bundle2-output-part: "replycaps" 1 |
|
|
102 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
103 | 103 | bundle2-output-part: "check:heads" streamed payload |
|
104 | 104 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
105 | 105 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
106 | 106 | bundle2-input-bundle: with-transaction |
|
107 | 107 | bundle2-input-part: "replycaps" supported |
|
108 |
bundle2-input-part: total payload size 1 |
|
|
108 | bundle2-input-part: total payload size 155 | |
|
109 | 109 | bundle2-input-part: "check:heads" supported |
|
110 | 110 | bundle2-input-part: total payload size 20 |
|
111 | 111 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -163,13 +163,13 b' Extension disabled for lack of acl.sourc' | |||
|
163 | 163 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
164 | 164 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
165 | 165 | bundle2-output-bundle: "HG20", 4 parts total |
|
166 |
bundle2-output-part: "replycaps" 1 |
|
|
166 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
167 | 167 | bundle2-output-part: "check:heads" streamed payload |
|
168 | 168 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
169 | 169 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
170 | 170 | bundle2-input-bundle: with-transaction |
|
171 | 171 | bundle2-input-part: "replycaps" supported |
|
172 |
bundle2-input-part: total payload size 1 |
|
|
172 | bundle2-input-part: total payload size 155 | |
|
173 | 173 | bundle2-input-part: "check:heads" supported |
|
174 | 174 | bundle2-input-part: total payload size 20 |
|
175 | 175 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -230,13 +230,13 b' No [acl.allow]/[acl.deny]' | |||
|
230 | 230 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
231 | 231 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
232 | 232 | bundle2-output-bundle: "HG20", 4 parts total |
|
233 |
bundle2-output-part: "replycaps" 1 |
|
|
233 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
234 | 234 | bundle2-output-part: "check:heads" streamed payload |
|
235 | 235 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
236 | 236 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
237 | 237 | bundle2-input-bundle: with-transaction |
|
238 | 238 | bundle2-input-part: "replycaps" supported |
|
239 |
bundle2-input-part: total payload size 1 |
|
|
239 | bundle2-input-part: total payload size 155 | |
|
240 | 240 | bundle2-input-part: "check:heads" supported |
|
241 | 241 | bundle2-input-part: total payload size 20 |
|
242 | 242 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -307,13 +307,13 b' Empty [acl.allow]' | |||
|
307 | 307 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
308 | 308 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
309 | 309 | bundle2-output-bundle: "HG20", 4 parts total |
|
310 |
bundle2-output-part: "replycaps" 1 |
|
|
310 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
311 | 311 | bundle2-output-part: "check:heads" streamed payload |
|
312 | 312 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
313 | 313 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
314 | 314 | bundle2-input-bundle: with-transaction |
|
315 | 315 | bundle2-input-part: "replycaps" supported |
|
316 |
bundle2-input-part: total payload size 1 |
|
|
316 | bundle2-input-part: total payload size 155 | |
|
317 | 317 | bundle2-input-part: "check:heads" supported |
|
318 | 318 | bundle2-input-part: total payload size 20 |
|
319 | 319 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -372,13 +372,13 b' fred is allowed inside foo/' | |||
|
372 | 372 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
373 | 373 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
374 | 374 | bundle2-output-bundle: "HG20", 4 parts total |
|
375 |
bundle2-output-part: "replycaps" 1 |
|
|
375 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
376 | 376 | bundle2-output-part: "check:heads" streamed payload |
|
377 | 377 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
378 | 378 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
379 | 379 | bundle2-input-bundle: with-transaction |
|
380 | 380 | bundle2-input-part: "replycaps" supported |
|
381 |
bundle2-input-part: total payload size 1 |
|
|
381 | bundle2-input-part: total payload size 155 | |
|
382 | 382 | bundle2-input-part: "check:heads" supported |
|
383 | 383 | bundle2-input-part: total payload size 20 |
|
384 | 384 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -442,13 +442,13 b' Empty [acl.deny]' | |||
|
442 | 442 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
443 | 443 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
444 | 444 | bundle2-output-bundle: "HG20", 4 parts total |
|
445 |
bundle2-output-part: "replycaps" 1 |
|
|
445 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
446 | 446 | bundle2-output-part: "check:heads" streamed payload |
|
447 | 447 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
448 | 448 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
449 | 449 | bundle2-input-bundle: with-transaction |
|
450 | 450 | bundle2-input-part: "replycaps" supported |
|
451 |
bundle2-input-part: total payload size 1 |
|
|
451 | bundle2-input-part: total payload size 155 | |
|
452 | 452 | bundle2-input-part: "check:heads" supported |
|
453 | 453 | bundle2-input-part: total payload size 20 |
|
454 | 454 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -509,13 +509,13 b' fred is allowed inside foo/, but not foo' | |||
|
509 | 509 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
510 | 510 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
511 | 511 | bundle2-output-bundle: "HG20", 4 parts total |
|
512 |
bundle2-output-part: "replycaps" 1 |
|
|
512 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
513 | 513 | bundle2-output-part: "check:heads" streamed payload |
|
514 | 514 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
515 | 515 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
516 | 516 | bundle2-input-bundle: with-transaction |
|
517 | 517 | bundle2-input-part: "replycaps" supported |
|
518 |
bundle2-input-part: total payload size 1 |
|
|
518 | bundle2-input-part: total payload size 155 | |
|
519 | 519 | bundle2-input-part: "check:heads" supported |
|
520 | 520 | bundle2-input-part: total payload size 20 |
|
521 | 521 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -581,13 +581,13 b' fred is allowed inside foo/, but not foo' | |||
|
581 | 581 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
582 | 582 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
583 | 583 | bundle2-output-bundle: "HG20", 4 parts total |
|
584 |
bundle2-output-part: "replycaps" 1 |
|
|
584 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
585 | 585 | bundle2-output-part: "check:heads" streamed payload |
|
586 | 586 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
587 | 587 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
588 | 588 | bundle2-input-bundle: with-transaction |
|
589 | 589 | bundle2-input-part: "replycaps" supported |
|
590 |
bundle2-input-part: total payload size 1 |
|
|
590 | bundle2-input-part: total payload size 155 | |
|
591 | 591 | bundle2-input-part: "check:heads" supported |
|
592 | 592 | bundle2-input-part: total payload size 20 |
|
593 | 593 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -650,13 +650,13 b' fred is allowed inside foo/, but not foo' | |||
|
650 | 650 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
651 | 651 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
652 | 652 | bundle2-output-bundle: "HG20", 4 parts total |
|
653 |
bundle2-output-part: "replycaps" 1 |
|
|
653 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
654 | 654 | bundle2-output-part: "check:heads" streamed payload |
|
655 | 655 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
656 | 656 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
657 | 657 | bundle2-input-bundle: with-transaction |
|
658 | 658 | bundle2-input-part: "replycaps" supported |
|
659 |
bundle2-input-part: total payload size 1 |
|
|
659 | bundle2-input-part: total payload size 155 | |
|
660 | 660 | bundle2-input-part: "check:heads" supported |
|
661 | 661 | bundle2-input-part: total payload size 20 |
|
662 | 662 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -721,13 +721,13 b' barney is allowed everywhere' | |||
|
721 | 721 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
722 | 722 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
723 | 723 | bundle2-output-bundle: "HG20", 4 parts total |
|
724 |
bundle2-output-part: "replycaps" 1 |
|
|
724 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
725 | 725 | bundle2-output-part: "check:heads" streamed payload |
|
726 | 726 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
727 | 727 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
728 | 728 | bundle2-input-bundle: with-transaction |
|
729 | 729 | bundle2-input-part: "replycaps" supported |
|
730 |
bundle2-input-part: total payload size 1 |
|
|
730 | bundle2-input-part: total payload size 155 | |
|
731 | 731 | bundle2-input-part: "check:heads" supported |
|
732 | 732 | bundle2-input-part: total payload size 20 |
|
733 | 733 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -805,13 +805,13 b' wilma can change files with a .txt exten' | |||
|
805 | 805 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
806 | 806 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
807 | 807 | bundle2-output-bundle: "HG20", 4 parts total |
|
808 |
bundle2-output-part: "replycaps" 1 |
|
|
808 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
809 | 809 | bundle2-output-part: "check:heads" streamed payload |
|
810 | 810 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
811 | 811 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
812 | 812 | bundle2-input-bundle: with-transaction |
|
813 | 813 | bundle2-input-part: "replycaps" supported |
|
814 |
bundle2-input-part: total payload size 1 |
|
|
814 | bundle2-input-part: total payload size 155 | |
|
815 | 815 | bundle2-input-part: "check:heads" supported |
|
816 | 816 | bundle2-input-part: total payload size 20 |
|
817 | 817 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -883,13 +883,13 b' file specified by acl.config does not ex' | |||
|
883 | 883 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
884 | 884 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
885 | 885 | bundle2-output-bundle: "HG20", 4 parts total |
|
886 |
bundle2-output-part: "replycaps" 1 |
|
|
886 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
887 | 887 | bundle2-output-part: "check:heads" streamed payload |
|
888 | 888 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
889 | 889 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
890 | 890 | bundle2-input-bundle: with-transaction |
|
891 | 891 | bundle2-input-part: "replycaps" supported |
|
892 |
bundle2-input-part: total payload size 1 |
|
|
892 | bundle2-input-part: total payload size 155 | |
|
893 | 893 | bundle2-input-part: "check:heads" supported |
|
894 | 894 | bundle2-input-part: total payload size 20 |
|
895 | 895 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -956,13 +956,13 b' betty is allowed inside foo/ by a acl.co' | |||
|
956 | 956 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
957 | 957 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
958 | 958 | bundle2-output-bundle: "HG20", 4 parts total |
|
959 |
bundle2-output-part: "replycaps" 1 |
|
|
959 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
960 | 960 | bundle2-output-part: "check:heads" streamed payload |
|
961 | 961 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
962 | 962 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
963 | 963 | bundle2-input-bundle: with-transaction |
|
964 | 964 | bundle2-input-part: "replycaps" supported |
|
965 |
bundle2-input-part: total payload size 1 |
|
|
965 | bundle2-input-part: total payload size 155 | |
|
966 | 966 | bundle2-input-part: "check:heads" supported |
|
967 | 967 | bundle2-input-part: total payload size 20 |
|
968 | 968 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -1040,13 +1040,13 b' acl.config can set only [acl.allow]/[acl' | |||
|
1040 | 1040 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1041 | 1041 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1042 | 1042 | bundle2-output-bundle: "HG20", 4 parts total |
|
1043 |
bundle2-output-part: "replycaps" 1 |
|
|
1043 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
1044 | 1044 | bundle2-output-part: "check:heads" streamed payload |
|
1045 | 1045 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1046 | 1046 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1047 | 1047 | bundle2-input-bundle: with-transaction |
|
1048 | 1048 | bundle2-input-part: "replycaps" supported |
|
1049 |
bundle2-input-part: total payload size 1 |
|
|
1049 | bundle2-input-part: total payload size 155 | |
|
1050 | 1050 | bundle2-input-part: "check:heads" supported |
|
1051 | 1051 | bundle2-input-part: total payload size 20 |
|
1052 | 1052 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -1127,13 +1127,13 b' fred is always allowed' | |||
|
1127 | 1127 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1128 | 1128 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1129 | 1129 | bundle2-output-bundle: "HG20", 4 parts total |
|
1130 |
bundle2-output-part: "replycaps" 1 |
|
|
1130 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
1131 | 1131 | bundle2-output-part: "check:heads" streamed payload |
|
1132 | 1132 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1133 | 1133 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1134 | 1134 | bundle2-input-bundle: with-transaction |
|
1135 | 1135 | bundle2-input-part: "replycaps" supported |
|
1136 |
bundle2-input-part: total payload size 1 |
|
|
1136 | bundle2-input-part: total payload size 155 | |
|
1137 | 1137 | bundle2-input-part: "check:heads" supported |
|
1138 | 1138 | bundle2-input-part: total payload size 20 |
|
1139 | 1139 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -1210,13 +1210,13 b' no one is allowed inside foo/Bar/' | |||
|
1210 | 1210 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1211 | 1211 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1212 | 1212 | bundle2-output-bundle: "HG20", 4 parts total |
|
1213 |
bundle2-output-part: "replycaps" 1 |
|
|
1213 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
1214 | 1214 | bundle2-output-part: "check:heads" streamed payload |
|
1215 | 1215 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1216 | 1216 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1217 | 1217 | bundle2-input-bundle: with-transaction |
|
1218 | 1218 | bundle2-input-part: "replycaps" supported |
|
1219 |
bundle2-input-part: total payload size 1 |
|
|
1219 | bundle2-input-part: total payload size 155 | |
|
1220 | 1220 | bundle2-input-part: "check:heads" supported |
|
1221 | 1221 | bundle2-input-part: total payload size 20 |
|
1222 | 1222 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -1286,13 +1286,13 b' OS-level groups' | |||
|
1286 | 1286 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1287 | 1287 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1288 | 1288 | bundle2-output-bundle: "HG20", 4 parts total |
|
1289 |
bundle2-output-part: "replycaps" 1 |
|
|
1289 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
1290 | 1290 | bundle2-output-part: "check:heads" streamed payload |
|
1291 | 1291 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1292 | 1292 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1293 | 1293 | bundle2-input-bundle: with-transaction |
|
1294 | 1294 | bundle2-input-part: "replycaps" supported |
|
1295 |
bundle2-input-part: total payload size 1 |
|
|
1295 | bundle2-input-part: total payload size 155 | |
|
1296 | 1296 | bundle2-input-part: "check:heads" supported |
|
1297 | 1297 | bundle2-input-part: total payload size 20 |
|
1298 | 1298 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -1370,13 +1370,13 b' OS-level groups' | |||
|
1370 | 1370 | f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd |
|
1371 | 1371 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1372 | 1372 | bundle2-output-bundle: "HG20", 4 parts total |
|
1373 |
bundle2-output-part: "replycaps" 1 |
|
|
1373 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
1374 | 1374 | bundle2-output-part: "check:heads" streamed payload |
|
1375 | 1375 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1376 | 1376 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1377 | 1377 | bundle2-input-bundle: with-transaction |
|
1378 | 1378 | bundle2-input-part: "replycaps" supported |
|
1379 |
bundle2-input-part: total payload size 1 |
|
|
1379 | bundle2-input-part: total payload size 155 | |
|
1380 | 1380 | bundle2-input-part: "check:heads" supported |
|
1381 | 1381 | bundle2-input-part: total payload size 20 |
|
1382 | 1382 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -1485,14 +1485,14 b' No branch acls specified' | |||
|
1485 | 1485 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1486 | 1486 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
1487 | 1487 | bundle2-output-bundle: "HG20", 5 parts total |
|
1488 |
bundle2-output-part: "replycaps" 1 |
|
|
1488 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
1489 | 1489 | bundle2-output-part: "check:heads" streamed payload |
|
1490 | 1490 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1491 | 1491 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1492 | 1492 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1493 | 1493 | bundle2-input-bundle: with-transaction |
|
1494 | 1494 | bundle2-input-part: "replycaps" supported |
|
1495 |
bundle2-input-part: total payload size 1 |
|
|
1495 | bundle2-input-part: total payload size 155 | |
|
1496 | 1496 | bundle2-input-part: "check:heads" supported |
|
1497 | 1497 | bundle2-input-part: total payload size 20 |
|
1498 | 1498 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -1574,14 +1574,14 b' Branch acl deny test' | |||
|
1574 | 1574 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1575 | 1575 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
1576 | 1576 | bundle2-output-bundle: "HG20", 5 parts total |
|
1577 |
bundle2-output-part: "replycaps" 1 |
|
|
1577 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
1578 | 1578 | bundle2-output-part: "check:heads" streamed payload |
|
1579 | 1579 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1580 | 1580 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1581 | 1581 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1582 | 1582 | bundle2-input-bundle: with-transaction |
|
1583 | 1583 | bundle2-input-part: "replycaps" supported |
|
1584 |
bundle2-input-part: total payload size 1 |
|
|
1584 | bundle2-input-part: total payload size 155 | |
|
1585 | 1585 | bundle2-input-part: "check:heads" supported |
|
1586 | 1586 | bundle2-input-part: total payload size 20 |
|
1587 | 1587 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -1648,14 +1648,14 b' Branch acl empty allow test' | |||
|
1648 | 1648 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1649 | 1649 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
1650 | 1650 | bundle2-output-bundle: "HG20", 5 parts total |
|
1651 |
bundle2-output-part: "replycaps" 1 |
|
|
1651 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
1652 | 1652 | bundle2-output-part: "check:heads" streamed payload |
|
1653 | 1653 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1654 | 1654 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1655 | 1655 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1656 | 1656 | bundle2-input-bundle: with-transaction |
|
1657 | 1657 | bundle2-input-part: "replycaps" supported |
|
1658 |
bundle2-input-part: total payload size 1 |
|
|
1658 | bundle2-input-part: total payload size 155 | |
|
1659 | 1659 | bundle2-input-part: "check:heads" supported |
|
1660 | 1660 | bundle2-input-part: total payload size 20 |
|
1661 | 1661 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -1718,14 +1718,14 b' Branch acl allow other' | |||
|
1718 | 1718 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1719 | 1719 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
1720 | 1720 | bundle2-output-bundle: "HG20", 5 parts total |
|
1721 |
bundle2-output-part: "replycaps" 1 |
|
|
1721 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
1722 | 1722 | bundle2-output-part: "check:heads" streamed payload |
|
1723 | 1723 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1724 | 1724 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1725 | 1725 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1726 | 1726 | bundle2-input-bundle: with-transaction |
|
1727 | 1727 | bundle2-input-part: "replycaps" supported |
|
1728 |
bundle2-input-part: total payload size 1 |
|
|
1728 | bundle2-input-part: total payload size 155 | |
|
1729 | 1729 | bundle2-input-part: "check:heads" supported |
|
1730 | 1730 | bundle2-input-part: total payload size 20 |
|
1731 | 1731 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -1782,14 +1782,14 b' Branch acl allow other' | |||
|
1782 | 1782 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1783 | 1783 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
1784 | 1784 | bundle2-output-bundle: "HG20", 5 parts total |
|
1785 |
bundle2-output-part: "replycaps" 1 |
|
|
1785 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
1786 | 1786 | bundle2-output-part: "check:heads" streamed payload |
|
1787 | 1787 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1788 | 1788 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1789 | 1789 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1790 | 1790 | bundle2-input-bundle: with-transaction |
|
1791 | 1791 | bundle2-input-part: "replycaps" supported |
|
1792 |
bundle2-input-part: total payload size 1 |
|
|
1792 | bundle2-input-part: total payload size 155 | |
|
1793 | 1793 | bundle2-input-part: "check:heads" supported |
|
1794 | 1794 | bundle2-input-part: total payload size 20 |
|
1795 | 1795 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -1876,14 +1876,14 b' push foobar into the remote' | |||
|
1876 | 1876 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1877 | 1877 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
1878 | 1878 | bundle2-output-bundle: "HG20", 5 parts total |
|
1879 |
bundle2-output-part: "replycaps" 1 |
|
|
1879 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
1880 | 1880 | bundle2-output-part: "check:heads" streamed payload |
|
1881 | 1881 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1882 | 1882 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1883 | 1883 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1884 | 1884 | bundle2-input-bundle: with-transaction |
|
1885 | 1885 | bundle2-input-part: "replycaps" supported |
|
1886 |
bundle2-input-part: total payload size 1 |
|
|
1886 | bundle2-input-part: total payload size 155 | |
|
1887 | 1887 | bundle2-input-part: "check:heads" supported |
|
1888 | 1888 | bundle2-input-part: total payload size 20 |
|
1889 | 1889 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -1969,14 +1969,14 b' Branch acl conflicting deny' | |||
|
1969 | 1969 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
1970 | 1970 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
1971 | 1971 | bundle2-output-bundle: "HG20", 5 parts total |
|
1972 |
bundle2-output-part: "replycaps" 1 |
|
|
1972 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
1973 | 1973 | bundle2-output-part: "check:heads" streamed payload |
|
1974 | 1974 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
1975 | 1975 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1976 | 1976 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
1977 | 1977 | bundle2-input-bundle: with-transaction |
|
1978 | 1978 | bundle2-input-part: "replycaps" supported |
|
1979 |
bundle2-input-part: total payload size 1 |
|
|
1979 | bundle2-input-part: total payload size 155 | |
|
1980 | 1980 | bundle2-input-part: "check:heads" supported |
|
1981 | 1981 | bundle2-input-part: total payload size 20 |
|
1982 | 1982 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -2038,14 +2038,14 b" User 'astro' must not be denied" | |||
|
2038 | 2038 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
2039 | 2039 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
2040 | 2040 | bundle2-output-bundle: "HG20", 5 parts total |
|
2041 |
bundle2-output-part: "replycaps" 1 |
|
|
2041 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
2042 | 2042 | bundle2-output-part: "check:heads" streamed payload |
|
2043 | 2043 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
2044 | 2044 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
2045 | 2045 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
2046 | 2046 | bundle2-input-bundle: with-transaction |
|
2047 | 2047 | bundle2-input-part: "replycaps" supported |
|
2048 |
bundle2-input-part: total payload size 1 |
|
|
2048 | bundle2-input-part: total payload size 155 | |
|
2049 | 2049 | bundle2-input-part: "check:heads" supported |
|
2050 | 2050 | bundle2-input-part: total payload size 20 |
|
2051 | 2051 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -2125,14 +2125,14 b' Non-astro users must be denied' | |||
|
2125 | 2125 | 911600dab2ae7a9baff75958b84fe606851ce955 |
|
2126 | 2126 | e8fc755d4d8217ee5b0c2bb41558c40d43b92c01 |
|
2127 | 2127 | bundle2-output-bundle: "HG20", 5 parts total |
|
2128 |
bundle2-output-part: "replycaps" 1 |
|
|
2128 | bundle2-output-part: "replycaps" 155 bytes payload | |
|
2129 | 2129 | bundle2-output-part: "check:heads" streamed payload |
|
2130 | 2130 | bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
|
2131 | 2131 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
2132 | 2132 | bundle2-output-part: "pushkey" (advisory) (params: 4 mandatory) empty payload |
|
2133 | 2133 | bundle2-input-bundle: with-transaction |
|
2134 | 2134 | bundle2-input-part: "replycaps" supported |
|
2135 |
bundle2-input-part: total payload size 1 |
|
|
2135 | bundle2-input-part: total payload size 155 | |
|
2136 | 2136 | bundle2-input-part: "check:heads" supported |
|
2137 | 2137 | bundle2-input-part: total payload size 20 |
|
2138 | 2138 | bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
@@ -777,7 +777,7 b' Check abort from mandatory pushkey' | |||
|
777 | 777 | remote: transaction abort! |
|
778 | 778 | remote: Cleaning up the mess... |
|
779 | 779 | remote: rollback completed |
|
780 | abort: failed to update value for "phases/cd010b8cd998f3981a5a8115f94f8da4ab506089" | |
|
780 | abort: Correct phase push failed (because hooks) | |
|
781 | 781 | [255] |
|
782 | 782 | $ hg -R main push http://localhost:$HGPORT2/ -r e7ec4e813ba6 |
|
783 | 783 | pushing to http://localhost:$HGPORT2/ |
@@ -791,7 +791,7 b' Check abort from mandatory pushkey' | |||
|
791 | 791 | remote: transaction abort! |
|
792 | 792 | remote: Cleaning up the mess... |
|
793 | 793 | remote: rollback completed |
|
794 | abort: failed to update value for "phases/cd010b8cd998f3981a5a8115f94f8da4ab506089" | |
|
794 | abort: Correct phase push failed (because hooks) | |
|
795 | 795 | [255] |
|
796 | 796 | |
|
797 | 797 | (Failure from a the pushkey) |
@@ -849,7 +849,7 b' Check abort from mandatory pushkey' | |||
|
849 | 849 | remote: pushkey: lock state after "phases" |
|
850 | 850 | remote: lock: free |
|
851 | 851 | remote: wlock: free |
|
852 | abort: failed to update value for "phases/cd010b8cd998f3981a5a8115f94f8da4ab506089" | |
|
852 | abort: Clown phase push failed | |
|
853 | 853 | [255] |
|
854 | 854 | $ hg -R main push http://localhost:$HGPORT2/ -r e7ec4e813ba6 |
|
855 | 855 | pushing to http://localhost:$HGPORT2/ |
@@ -864,6 +864,6 b' Check abort from mandatory pushkey' | |||
|
864 | 864 | remote: pushkey: lock state after "phases" |
|
865 | 865 | remote: lock: free |
|
866 | 866 | remote: wlock: free |
|
867 | abort: failed to update value for "phases/cd010b8cd998f3981a5a8115f94f8da4ab506089" | |
|
867 | abort: Clown phase push failed | |
|
868 | 868 | [255] |
|
869 | 869 |
@@ -110,21 +110,21 b' do not use the proxy if it is in the no ' | |||
|
110 | 110 | * - - [*] "GET http://localhost:$HGPORT/?cmd=branchmap HTTP/1.1" - - (glob) |
|
111 | 111 | * - - [*] "GET http://localhost:$HGPORT/?cmd=stream_out HTTP/1.1" - - (glob) |
|
112 | 112 | * - - [*] "GET http://localhost:$HGPORT/?cmd=batch HTTP/1.1" - - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D83180e7845de420a1bb46896fd5fe05294f8d629 (glob) |
|
113 | * - - [*] "GET http://localhost:$HGPORT/?cmd=getbundle HTTP/1.1" - - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=0&common=83180e7845de420a1bb46896fd5fe05294f8d629&heads=83180e7845de420a1bb46896fd5fe05294f8d629&listkeys=phase%2Cbookmarks (glob) | |
|
113 | * - - [*] "GET http://localhost:$HGPORT/?cmd=getbundle HTTP/1.1" - - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=0&common=83180e7845de420a1bb46896fd5fe05294f8d629&heads=83180e7845de420a1bb46896fd5fe05294f8d629&listkeys=phase%2Cbookmarks (glob) | |
|
114 | 114 | * - - [*] "GET http://localhost:$HGPORT/?cmd=listkeys HTTP/1.1" - - x-hgarg-1:namespace=phases (glob) |
|
115 | 115 | * - - [*] "GET http://localhost:$HGPORT/?cmd=capabilities HTTP/1.1" - - (glob) |
|
116 | 116 | * - - [*] "GET http://localhost:$HGPORT/?cmd=batch HTTP/1.1" - - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D (glob) |
|
117 | * - - [*] "GET http://localhost:$HGPORT/?cmd=getbundle HTTP/1.1" - - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=83180e7845de420a1bb46896fd5fe05294f8d629&listkeys=phase%2Cbookmarks (glob) | |
|
117 | * - - [*] "GET http://localhost:$HGPORT/?cmd=getbundle HTTP/1.1" - - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=83180e7845de420a1bb46896fd5fe05294f8d629&listkeys=phase%2Cbookmarks (glob) | |
|
118 | 118 | * - - [*] "GET http://localhost:$HGPORT/?cmd=listkeys HTTP/1.1" - - x-hgarg-1:namespace=phases (glob) |
|
119 | 119 | * - - [*] "GET http://localhost:$HGPORT/?cmd=capabilities HTTP/1.1" - - (glob) |
|
120 | 120 | * - - [*] "GET http://localhost:$HGPORT/?cmd=batch HTTP/1.1" - - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D (glob) |
|
121 | * - - [*] "GET http://localhost:$HGPORT/?cmd=getbundle HTTP/1.1" - - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=83180e7845de420a1bb46896fd5fe05294f8d629&listkeys=phase%2Cbookmarks (glob) | |
|
121 | * - - [*] "GET http://localhost:$HGPORT/?cmd=getbundle HTTP/1.1" - - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=83180e7845de420a1bb46896fd5fe05294f8d629&listkeys=phase%2Cbookmarks (glob) | |
|
122 | 122 | * - - [*] "GET http://localhost:$HGPORT/?cmd=listkeys HTTP/1.1" - - x-hgarg-1:namespace=phases (glob) |
|
123 | 123 | * - - [*] "GET http://localhost:$HGPORT/?cmd=capabilities HTTP/1.1" - - (glob) |
|
124 | 124 | * - - [*] "GET http://localhost:$HGPORT/?cmd=batch HTTP/1.1" - - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D (glob) |
|
125 | * - - [*] "GET http://localhost:$HGPORT/?cmd=getbundle HTTP/1.1" - - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=83180e7845de420a1bb46896fd5fe05294f8d629&listkeys=phase%2Cbookmarks (glob) | |
|
125 | * - - [*] "GET http://localhost:$HGPORT/?cmd=getbundle HTTP/1.1" - - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=83180e7845de420a1bb46896fd5fe05294f8d629&listkeys=phase%2Cbookmarks (glob) | |
|
126 | 126 | * - - [*] "GET http://localhost:$HGPORT/?cmd=listkeys HTTP/1.1" - - x-hgarg-1:namespace=phases (glob) |
|
127 | 127 | * - - [*] "GET http://localhost:$HGPORT/?cmd=capabilities HTTP/1.1" - - (glob) |
|
128 | 128 | * - - [*] "GET http://localhost:$HGPORT/?cmd=batch HTTP/1.1" - - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D (glob) |
|
129 | * - - [*] "GET http://localhost:$HGPORT/?cmd=getbundle HTTP/1.1" - - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=83180e7845de420a1bb46896fd5fe05294f8d629&listkeys=phase%2Cbookmarks (glob) | |
|
129 | * - - [*] "GET http://localhost:$HGPORT/?cmd=getbundle HTTP/1.1" - - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=83180e7845de420a1bb46896fd5fe05294f8d629&listkeys=phase%2Cbookmarks (glob) | |
|
130 | 130 | * - - [*] "GET http://localhost:$HGPORT/?cmd=listkeys HTTP/1.1" - - x-hgarg-1:namespace=phases (glob) |
@@ -262,12 +262,12 b' test http authentication' | |||
|
262 | 262 | "GET /?cmd=stream_out HTTP/1.1" 401 - |
|
263 | 263 | "GET /?cmd=stream_out HTTP/1.1" 200 - |
|
264 | 264 | "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D5fed3813f7f5e1824344fdc9cf8f63bb662c292d |
|
265 | "GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=0&common=5fed3813f7f5e1824344fdc9cf8f63bb662c292d&heads=5fed3813f7f5e1824344fdc9cf8f63bb662c292d&listkeys=phase%2Cbookmarks | |
|
265 | "GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=0&common=5fed3813f7f5e1824344fdc9cf8f63bb662c292d&heads=5fed3813f7f5e1824344fdc9cf8f63bb662c292d&listkeys=phase%2Cbookmarks | |
|
266 | 266 | "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases |
|
267 | 267 | "GET /?cmd=capabilities HTTP/1.1" 200 - |
|
268 | 268 | "GET /?cmd=batch HTTP/1.1" 200 - x-hgarg-1:cmds=heads+%3Bknown+nodes%3D |
|
269 | "GET /?cmd=getbundle HTTP/1.1" 401 - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=5fed3813f7f5e1824344fdc9cf8f63bb662c292d&listkeys=phase%2Cbookmarks | |
|
270 | "GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=5fed3813f7f5e1824344fdc9cf8f63bb662c292d&listkeys=phase%2Cbookmarks | |
|
269 | "GET /?cmd=getbundle HTTP/1.1" 401 - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=5fed3813f7f5e1824344fdc9cf8f63bb662c292d&listkeys=phase%2Cbookmarks | |
|
270 | "GET /?cmd=getbundle HTTP/1.1" 200 - x-hgarg-1:bundlecaps=HG20%2Cbundle2%3DHG20%250Achangegroup%253D01%252C02%250Adigests%253Dmd5%252Csha1%252Csha512%250Aerror%253Dabort%252Cunsupportedcontent%252Cpushraced%252Cpushkey%250Ahgtagsfnodes%250Alistkeys%250Apushkey%250Aremote-changegroup%253Dhttp%252Chttps&cg=1&common=0000000000000000000000000000000000000000&heads=5fed3813f7f5e1824344fdc9cf8f63bb662c292d&listkeys=phase%2Cbookmarks | |
|
271 | 271 | "GET /?cmd=listkeys HTTP/1.1" 200 - x-hgarg-1:namespace=phases |
|
272 | 272 | "GET /?cmd=capabilities HTTP/1.1" 200 - |
|
273 | 273 | "GET /?cmd=lookup HTTP/1.1" 200 - x-hgarg-1:key=tip |
@@ -460,8 +460,8 b' debug output' | |||
|
460 | 460 | running dummyssh user@dummy ('|")hg -R remote serve --stdio('|") (re) |
|
461 | 461 | sending hello command |
|
462 | 462 | sending between command |
|
463 |
remote: 3 |
|
|
464 | remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 | |
|
463 | remote: 345 | |
|
464 | remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream bundle2=HG20%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 | |
|
465 | 465 | remote: 1 |
|
466 | 466 | preparing listkeys for "bookmarks" |
|
467 | 467 | sending listkeys command |
@@ -448,8 +448,8 b' debug output' | |||
|
448 | 448 | running dummyssh user@dummy ('|")hg -R remote serve --stdio('|") (re) |
|
449 | 449 | sending hello command |
|
450 | 450 | sending between command |
|
451 |
remote: 3 |
|
|
452 | remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%0Ahgtagsfnodes%0Alistkeys%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 | |
|
451 | remote: 345 | |
|
452 | remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream bundle2=HG20%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 | |
|
453 | 453 | remote: 1 |
|
454 | 454 | query 1; heads |
|
455 | 455 | sending batch command |
General Comments 0
You need to be logged in to leave comments.
Login now