##// END OF EJS Templates
phase: use a binary phase part to push through bundle2 (BC)...
Boris Feld -
r34837:537de0b1 default
parent child Browse files
Show More
@@ -806,9 +806,26 def _pushb2phases(pushop, bundler):
806 806 if 'phases' in pushop.stepsdone:
807 807 return
808 808 b2caps = bundle2.bundle2caps(pushop.remote)
809 if 'pushkey' in b2caps:
809 ui = pushop.repo.ui
810
811 legacyphase = 'phases' in ui.configlist('devel', 'legacy.exchange')
812 haspushkey = 'pushkey' in b2caps
813 hasphaseheads = 'heads' in b2caps.get('phases', ())
814
815 if hasphaseheads and not legacyphase:
816 _pushb2phaseheads(pushop, bundler)
817 elif haspushkey:
810 818 _pushb2phasespushkey(pushop, bundler)
811 819
820 def _pushb2phaseheads(pushop, bundler):
821 """push phase information through a bundle2 - binary part"""
822 pushop.stepsdone.add('phases')
823 if pushop.outdatedphases:
824 updates = [[] for p in phases.allphases]
825 updates[0].extend(h.node() for h in pushop.outdatedphases)
826 phasedata = phases.binaryencode(updates)
827 bundler.newpart('phase-heads', data=phasedata)
828
812 829 def _pushb2phasespushkey(pushop, bundler):
813 830 """push phase information through a bundle2 - pushkey part"""
814 831 pushop.stepsdone.add('phases')
@@ -97,7 +97,7 Extension disabled for lack of a hook
97 97 bundle2-output-part: "check:phases" 24 bytes payload
98 98 bundle2-output-part: "check:heads" streamed payload
99 99 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
100 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
100 bundle2-output-part: "phase-heads" 24 bytes payload
101 101 bundle2-input-bundle: with-transaction
102 102 bundle2-input-part: "replycaps" supported
103 103 bundle2-input-part: total payload size 168
@@ -117,17 +117,15 Extension disabled for lack of a hook
117 117 adding quux/file.py revisions
118 118 added 3 changesets with 3 changes to 3 files
119 119 bundle2-input-part: total payload size 1553
120 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
121 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
120 bundle2-input-part: "phase-heads" supported
121 bundle2-input-part: total payload size 24
122 122 bundle2-input-bundle: 4 parts total
123 123 updating the branch cache
124 bundle2-output-bundle: "HG20", 2 parts total
124 bundle2-output-bundle: "HG20", 1 parts total
125 125 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
126 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
127 126 bundle2-input-bundle: no-transaction
128 127 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
129 bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
130 bundle2-input-bundle: 1 parts total
128 bundle2-input-bundle: 0 parts total
131 129 listing keys for "phases"
132 130 repository tip rolled back to revision 0 (undo push)
133 131 0:6675d58eff77
@@ -162,7 +160,7 Extension disabled for lack of acl.sourc
162 160 bundle2-output-part: "check:phases" 24 bytes payload
163 161 bundle2-output-part: "check:heads" streamed payload
164 162 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
165 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
163 bundle2-output-part: "phase-heads" 24 bytes payload
166 164 bundle2-input-bundle: with-transaction
167 165 bundle2-input-part: "replycaps" supported
168 166 bundle2-input-part: total payload size 168
@@ -184,17 +182,15 Extension disabled for lack of acl.sourc
184 182 calling hook pretxnchangegroup.acl: hgext.acl.hook
185 183 acl: changes have source "push" - skipping
186 184 bundle2-input-part: total payload size 1553
187 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
188 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
185 bundle2-input-part: "phase-heads" supported
186 bundle2-input-part: total payload size 24
189 187 bundle2-input-bundle: 4 parts total
190 188 updating the branch cache
191 bundle2-output-bundle: "HG20", 2 parts total
189 bundle2-output-bundle: "HG20", 1 parts total
192 190 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
193 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
194 191 bundle2-input-bundle: no-transaction
195 192 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
196 bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
197 bundle2-input-bundle: 1 parts total
193 bundle2-input-bundle: 0 parts total
198 194 listing keys for "phases"
199 195 repository tip rolled back to revision 0 (undo push)
200 196 0:6675d58eff77
@@ -230,7 +226,7 No [acl.allow]/[acl.deny]
230 226 bundle2-output-part: "check:phases" 24 bytes payload
231 227 bundle2-output-part: "check:heads" streamed payload
232 228 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
233 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
229 bundle2-output-part: "phase-heads" 24 bytes payload
234 230 bundle2-input-bundle: with-transaction
235 231 bundle2-input-part: "replycaps" supported
236 232 bundle2-input-part: total payload size 168
@@ -262,17 +258,15 No [acl.allow]/[acl.deny]
262 258 acl: branch access granted: "911600dab2ae" on branch "default"
263 259 acl: path access granted: "911600dab2ae"
264 260 bundle2-input-part: total payload size 1553
265 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
266 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
261 bundle2-input-part: "phase-heads" supported
262 bundle2-input-part: total payload size 24
267 263 bundle2-input-bundle: 4 parts total
268 264 updating the branch cache
269 bundle2-output-bundle: "HG20", 2 parts total
265 bundle2-output-bundle: "HG20", 1 parts total
270 266 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
271 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
272 267 bundle2-input-bundle: no-transaction
273 268 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
274 bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
275 bundle2-input-bundle: 1 parts total
269 bundle2-input-bundle: 0 parts total
276 270 listing keys for "phases"
277 271 repository tip rolled back to revision 0 (undo push)
278 272 0:6675d58eff77
@@ -308,7 +302,7 Empty [acl.allow]
308 302 bundle2-output-part: "check:phases" 24 bytes payload
309 303 bundle2-output-part: "check:heads" streamed payload
310 304 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
311 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
305 bundle2-output-part: "phase-heads" 24 bytes payload
312 306 bundle2-input-bundle: with-transaction
313 307 bundle2-input-part: "replycaps" supported
314 308 bundle2-input-part: total payload size 168
@@ -336,6 +330,7 Empty [acl.allow]
336 330 acl: branch access granted: "ef1ea85a6374" on branch "default"
337 331 error: pretxnchangegroup.acl hook failed: acl: user "fred" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
338 332 bundle2-input-part: total payload size 1553
333 bundle2-input-part: total payload size 24
339 334 bundle2-input-bundle: 4 parts total
340 335 transaction abort!
341 336 rollback completed
@@ -375,7 +370,7 fred is allowed inside foo/
375 370 bundle2-output-part: "check:phases" 24 bytes payload
376 371 bundle2-output-part: "check:heads" streamed payload
377 372 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
378 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
373 bundle2-output-part: "phase-heads" 24 bytes payload
379 374 bundle2-input-bundle: with-transaction
380 375 bundle2-input-part: "replycaps" supported
381 376 bundle2-input-part: total payload size 168
@@ -407,6 +402,7 fred is allowed inside foo/
407 402 acl: branch access granted: "911600dab2ae" on branch "default"
408 403 error: pretxnchangegroup.acl hook failed: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
409 404 bundle2-input-part: total payload size 1553
405 bundle2-input-part: total payload size 24
410 406 bundle2-input-bundle: 4 parts total
411 407 transaction abort!
412 408 rollback completed
@@ -447,7 +443,7 Empty [acl.deny]
447 443 bundle2-output-part: "check:phases" 24 bytes payload
448 444 bundle2-output-part: "check:heads" streamed payload
449 445 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
450 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
446 bundle2-output-part: "phase-heads" 24 bytes payload
451 447 bundle2-input-bundle: with-transaction
452 448 bundle2-input-part: "replycaps" supported
453 449 bundle2-input-part: total payload size 168
@@ -475,6 +471,7 Empty [acl.deny]
475 471 acl: branch access granted: "ef1ea85a6374" on branch "default"
476 472 error: pretxnchangegroup.acl hook failed: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
477 473 bundle2-input-part: total payload size 1553
474 bundle2-input-part: total payload size 24
478 475 bundle2-input-bundle: 4 parts total
479 476 transaction abort!
480 477 rollback completed
@@ -516,7 +513,7 fred is allowed inside foo/, but not foo
516 513 bundle2-output-part: "check:phases" 24 bytes payload
517 514 bundle2-output-part: "check:heads" streamed payload
518 515 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
519 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
516 bundle2-output-part: "phase-heads" 24 bytes payload
520 517 bundle2-input-bundle: with-transaction
521 518 bundle2-input-part: "replycaps" supported
522 519 bundle2-input-part: total payload size 168
@@ -548,6 +545,7 fred is allowed inside foo/, but not foo
548 545 acl: branch access granted: "911600dab2ae" on branch "default"
549 546 error: pretxnchangegroup.acl hook failed: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
550 547 bundle2-input-part: total payload size 1553
548 bundle2-input-part: total payload size 24
551 549 bundle2-input-bundle: 4 parts total
552 550 transaction abort!
553 551 rollback completed
@@ -590,7 +588,7 fred is allowed inside foo/, but not foo
590 588 bundle2-output-part: "check:phases" 24 bytes payload
591 589 bundle2-output-part: "check:heads" streamed payload
592 590 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
593 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
591 bundle2-output-part: "phase-heads" 24 bytes payload
594 592 bundle2-input-bundle: with-transaction
595 593 bundle2-input-part: "replycaps" supported
596 594 bundle2-input-part: total payload size 168
@@ -620,6 +618,7 fred is allowed inside foo/, but not foo
620 618 acl: branch access granted: "f9cafe1212c8" on branch "default"
621 619 error: pretxnchangegroup.acl hook failed: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
622 620 bundle2-input-part: total payload size 1553
621 bundle2-input-part: total payload size 24
623 622 bundle2-input-bundle: 4 parts total
624 623 transaction abort!
625 624 rollback completed
@@ -661,7 +660,7 fred is allowed inside foo/, but not foo
661 660 bundle2-output-part: "check:phases" 24 bytes payload
662 661 bundle2-output-part: "check:heads" streamed payload
663 662 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
664 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
663 bundle2-output-part: "phase-heads" 24 bytes payload
665 664 bundle2-input-bundle: with-transaction
666 665 bundle2-input-part: "replycaps" supported
667 666 bundle2-input-part: total payload size 168
@@ -689,6 +688,7 fred is allowed inside foo/, but not foo
689 688 acl: branch access granted: "ef1ea85a6374" on branch "default"
690 689 error: pretxnchangegroup.acl hook failed: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
691 690 bundle2-input-part: total payload size 1553
691 bundle2-input-part: total payload size 24
692 692 bundle2-input-bundle: 4 parts total
693 693 transaction abort!
694 694 rollback completed
@@ -734,7 +734,7 barney is allowed everywhere
734 734 bundle2-output-part: "check:phases" 24 bytes payload
735 735 bundle2-output-part: "check:heads" streamed payload
736 736 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
737 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
737 bundle2-output-part: "phase-heads" 24 bytes payload
738 738 bundle2-input-bundle: with-transaction
739 739 bundle2-input-part: "replycaps" supported
740 740 bundle2-input-part: total payload size 168
@@ -766,17 +766,15 barney is allowed everywhere
766 766 acl: branch access granted: "911600dab2ae" on branch "default"
767 767 acl: path access granted: "911600dab2ae"
768 768 bundle2-input-part: total payload size 1553
769 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
770 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
769 bundle2-input-part: "phase-heads" supported
770 bundle2-input-part: total payload size 24
771 771 bundle2-input-bundle: 4 parts total
772 772 updating the branch cache
773 bundle2-output-bundle: "HG20", 2 parts total
773 bundle2-output-bundle: "HG20", 1 parts total
774 774 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
775 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
776 775 bundle2-input-bundle: no-transaction
777 776 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
778 bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
779 bundle2-input-bundle: 1 parts total
777 bundle2-input-bundle: 0 parts total
780 778 listing keys for "phases"
781 779 repository tip rolled back to revision 0 (undo push)
782 780 0:6675d58eff77
@@ -819,7 +817,7 wilma can change files with a .txt exten
819 817 bundle2-output-part: "check:phases" 24 bytes payload
820 818 bundle2-output-part: "check:heads" streamed payload
821 819 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
822 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
820 bundle2-output-part: "phase-heads" 24 bytes payload
823 821 bundle2-input-bundle: with-transaction
824 822 bundle2-input-part: "replycaps" supported
825 823 bundle2-input-part: total payload size 168
@@ -851,6 +849,7 wilma can change files with a .txt exten
851 849 acl: branch access granted: "911600dab2ae" on branch "default"
852 850 error: pretxnchangegroup.acl hook failed: acl: user "wilma" not allowed on "quux/file.py" (changeset "911600dab2ae")
853 851 bundle2-input-part: total payload size 1553
852 bundle2-input-part: total payload size 24
854 853 bundle2-input-bundle: 4 parts total
855 854 transaction abort!
856 855 rollback completed
@@ -899,7 +898,7 file specified by acl.config does not ex
899 898 bundle2-output-part: "check:phases" 24 bytes payload
900 899 bundle2-output-part: "check:heads" streamed payload
901 900 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
902 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
901 bundle2-output-part: "phase-heads" 24 bytes payload
903 902 bundle2-input-bundle: with-transaction
904 903 bundle2-input-part: "replycaps" supported
905 904 bundle2-input-part: total payload size 168
@@ -922,6 +921,7 file specified by acl.config does not ex
922 921 acl: checking access for user "barney"
923 922 error: pretxnchangegroup.acl hook raised an exception: [Errno *] * (glob)
924 923 bundle2-input-part: total payload size 1553
924 bundle2-input-part: total payload size 24
925 925 bundle2-input-bundle: 4 parts total
926 926 transaction abort!
927 927 rollback completed
@@ -974,7 +974,7 betty is allowed inside foo/ by a acl.co
974 974 bundle2-output-part: "check:phases" 24 bytes payload
975 975 bundle2-output-part: "check:heads" streamed payload
976 976 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
977 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
977 bundle2-output-part: "phase-heads" 24 bytes payload
978 978 bundle2-input-bundle: with-transaction
979 979 bundle2-input-part: "replycaps" supported
980 980 bundle2-input-part: total payload size 168
@@ -1006,6 +1006,7 betty is allowed inside foo/ by a acl.co
1006 1006 acl: branch access granted: "911600dab2ae" on branch "default"
1007 1007 error: pretxnchangegroup.acl hook failed: acl: user "betty" not allowed on "quux/file.py" (changeset "911600dab2ae")
1008 1008 bundle2-input-part: total payload size 1553
1009 bundle2-input-part: total payload size 24
1009 1010 bundle2-input-bundle: 4 parts total
1010 1011 transaction abort!
1011 1012 rollback completed
@@ -1060,7 +1061,7 acl.config can set only [acl.allow]/[acl
1060 1061 bundle2-output-part: "check:phases" 24 bytes payload
1061 1062 bundle2-output-part: "check:heads" streamed payload
1062 1063 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1063 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1064 bundle2-output-part: "phase-heads" 24 bytes payload
1064 1065 bundle2-input-bundle: with-transaction
1065 1066 bundle2-input-part: "replycaps" supported
1066 1067 bundle2-input-part: total payload size 168
@@ -1092,17 +1093,15 acl.config can set only [acl.allow]/[acl
1092 1093 acl: branch access granted: "911600dab2ae" on branch "default"
1093 1094 acl: path access granted: "911600dab2ae"
1094 1095 bundle2-input-part: total payload size 1553
1095 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1096 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1096 bundle2-input-part: "phase-heads" supported
1097 bundle2-input-part: total payload size 24
1097 1098 bundle2-input-bundle: 4 parts total
1098 1099 updating the branch cache
1099 bundle2-output-bundle: "HG20", 2 parts total
1100 bundle2-output-bundle: "HG20", 1 parts total
1100 1101 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1101 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1102 1102 bundle2-input-bundle: no-transaction
1103 1103 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
1104 bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
1105 bundle2-input-bundle: 1 parts total
1104 bundle2-input-bundle: 0 parts total
1106 1105 listing keys for "phases"
1107 1106 repository tip rolled back to revision 0 (undo push)
1108 1107 0:6675d58eff77
@@ -1148,7 +1147,7 fred is always allowed
1148 1147 bundle2-output-part: "check:phases" 24 bytes payload
1149 1148 bundle2-output-part: "check:heads" streamed payload
1150 1149 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1151 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1150 bundle2-output-part: "phase-heads" 24 bytes payload
1152 1151 bundle2-input-bundle: with-transaction
1153 1152 bundle2-input-part: "replycaps" supported
1154 1153 bundle2-input-part: total payload size 168
@@ -1180,17 +1179,15 fred is always allowed
1180 1179 acl: branch access granted: "911600dab2ae" on branch "default"
1181 1180 acl: path access granted: "911600dab2ae"
1182 1181 bundle2-input-part: total payload size 1553
1183 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1184 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1182 bundle2-input-part: "phase-heads" supported
1183 bundle2-input-part: total payload size 24
1185 1184 bundle2-input-bundle: 4 parts total
1186 1185 updating the branch cache
1187 bundle2-output-bundle: "HG20", 2 parts total
1186 bundle2-output-bundle: "HG20", 1 parts total
1188 1187 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1189 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1190 1188 bundle2-input-bundle: no-transaction
1191 1189 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
1192 bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
1193 bundle2-input-bundle: 1 parts total
1190 bundle2-input-bundle: 0 parts total
1194 1191 listing keys for "phases"
1195 1192 repository tip rolled back to revision 0 (undo push)
1196 1193 0:6675d58eff77
@@ -1232,7 +1229,7 no one is allowed inside foo/Bar/
1232 1229 bundle2-output-part: "check:phases" 24 bytes payload
1233 1230 bundle2-output-part: "check:heads" streamed payload
1234 1231 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1235 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1232 bundle2-output-part: "phase-heads" 24 bytes payload
1236 1233 bundle2-input-bundle: with-transaction
1237 1234 bundle2-input-part: "replycaps" supported
1238 1235 bundle2-input-part: total payload size 168
@@ -1262,6 +1259,7 no one is allowed inside foo/Bar/
1262 1259 acl: branch access granted: "f9cafe1212c8" on branch "default"
1263 1260 error: pretxnchangegroup.acl hook failed: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
1264 1261 bundle2-input-part: total payload size 1553
1262 bundle2-input-part: total payload size 24
1265 1263 bundle2-input-bundle: 4 parts total
1266 1264 transaction abort!
1267 1265 rollback completed
@@ -1310,7 +1308,7 OS-level groups
1310 1308 bundle2-output-part: "check:phases" 24 bytes payload
1311 1309 bundle2-output-part: "check:heads" streamed payload
1312 1310 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1313 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1311 bundle2-output-part: "phase-heads" 24 bytes payload
1314 1312 bundle2-input-bundle: with-transaction
1315 1313 bundle2-input-part: "replycaps" supported
1316 1314 bundle2-input-part: total payload size 168
@@ -1343,17 +1341,15 OS-level groups
1343 1341 acl: branch access granted: "911600dab2ae" on branch "default"
1344 1342 acl: path access granted: "911600dab2ae"
1345 1343 bundle2-input-part: total payload size 1553
1346 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1347 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1344 bundle2-input-part: "phase-heads" supported
1345 bundle2-input-part: total payload size 24
1348 1346 bundle2-input-bundle: 4 parts total
1349 1347 updating the branch cache
1350 bundle2-output-bundle: "HG20", 2 parts total
1348 bundle2-output-bundle: "HG20", 1 parts total
1351 1349 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1352 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1353 1350 bundle2-input-bundle: no-transaction
1354 1351 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
1355 bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
1356 bundle2-input-bundle: 1 parts total
1352 bundle2-input-bundle: 0 parts total
1357 1353 listing keys for "phases"
1358 1354 repository tip rolled back to revision 0 (undo push)
1359 1355 0:6675d58eff77
@@ -1395,7 +1391,7 OS-level groups
1395 1391 bundle2-output-part: "check:phases" 24 bytes payload
1396 1392 bundle2-output-part: "check:heads" streamed payload
1397 1393 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1398 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1394 bundle2-output-part: "phase-heads" 24 bytes payload
1399 1395 bundle2-input-bundle: with-transaction
1400 1396 bundle2-input-part: "replycaps" supported
1401 1397 bundle2-input-part: total payload size 168
@@ -1427,6 +1423,7 OS-level groups
1427 1423 acl: branch access granted: "f9cafe1212c8" on branch "default"
1428 1424 error: pretxnchangegroup.acl hook failed: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
1429 1425 bundle2-input-part: total payload size 1553
1426 bundle2-input-part: total payload size 24
1430 1427 bundle2-input-bundle: 4 parts total
1431 1428 transaction abort!
1432 1429 rollback completed
@@ -1509,13 +1506,12 No branch acls specified
1509 1506 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
1510 1507 911600dab2ae7a9baff75958b84fe606851ce955
1511 1508 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1512 bundle2-output-bundle: "HG20", 6 parts total
1509 bundle2-output-bundle: "HG20", 5 parts total
1513 1510 bundle2-output-part: "replycaps" 168 bytes payload
1514 1511 bundle2-output-part: "check:phases" 48 bytes payload
1515 1512 bundle2-output-part: "check:heads" streamed payload
1516 1513 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1517 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1518 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1514 bundle2-output-part: "phase-heads" 48 bytes payload
1519 1515 bundle2-input-bundle: with-transaction
1520 1516 bundle2-input-part: "replycaps" supported
1521 1517 bundle2-input-part: total payload size 168
@@ -1551,21 +1547,15 No branch acls specified
1551 1547 acl: branch access granted: "e8fc755d4d82" on branch "foobar"
1552 1548 acl: path access granted: "e8fc755d4d82"
1553 1549 bundle2-input-part: total payload size 2068
1554 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1555 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1556 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1557 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
1558 bundle2-input-bundle: 5 parts total
1550 bundle2-input-part: "phase-heads" supported
1551 bundle2-input-part: total payload size 48
1552 bundle2-input-bundle: 4 parts total
1559 1553 updating the branch cache
1560 bundle2-output-bundle: "HG20", 3 parts total
1554 bundle2-output-bundle: "HG20", 1 parts total
1561 1555 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1562 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1563 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1564 1556 bundle2-input-bundle: no-transaction
1565 1557 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
1566 bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
1567 bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
1568 bundle2-input-bundle: 2 parts total
1558 bundle2-input-bundle: 0 parts total
1569 1559 listing keys for "phases"
1570 1560 repository tip rolled back to revision 2 (undo push)
1571 1561 2:fb35475503ef
@@ -1600,13 +1590,12 Branch acl deny test
1600 1590 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
1601 1591 911600dab2ae7a9baff75958b84fe606851ce955
1602 1592 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1603 bundle2-output-bundle: "HG20", 6 parts total
1593 bundle2-output-bundle: "HG20", 5 parts total
1604 1594 bundle2-output-part: "replycaps" 168 bytes payload
1605 1595 bundle2-output-part: "check:phases" 48 bytes payload
1606 1596 bundle2-output-part: "check:heads" streamed payload
1607 1597 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1608 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1609 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1598 bundle2-output-part: "phase-heads" 48 bytes payload
1610 1599 bundle2-input-bundle: with-transaction
1611 1600 bundle2-input-part: "replycaps" supported
1612 1601 bundle2-input-part: total payload size 168
@@ -1641,7 +1630,8 Branch acl deny test
1641 1630 acl: path access granted: "911600dab2ae"
1642 1631 error: pretxnchangegroup.acl hook failed: acl: user "astro" denied on branch "foobar" (changeset "e8fc755d4d82")
1643 1632 bundle2-input-part: total payload size 2068
1644 bundle2-input-bundle: 5 parts total
1633 bundle2-input-part: total payload size 48
1634 bundle2-input-bundle: 4 parts total
1645 1635 transaction abort!
1646 1636 rollback completed
1647 1637 abort: acl: user "astro" denied on branch "foobar" (changeset "e8fc755d4d82")
@@ -1677,13 +1667,12 Branch acl empty allow test
1677 1667 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
1678 1668 911600dab2ae7a9baff75958b84fe606851ce955
1679 1669 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1680 bundle2-output-bundle: "HG20", 6 parts total
1670 bundle2-output-bundle: "HG20", 5 parts total
1681 1671 bundle2-output-part: "replycaps" 168 bytes payload
1682 1672 bundle2-output-part: "check:phases" 48 bytes payload
1683 1673 bundle2-output-part: "check:heads" streamed payload
1684 1674 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1685 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1686 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1675 bundle2-output-part: "phase-heads" 48 bytes payload
1687 1676 bundle2-input-bundle: with-transaction
1688 1677 bundle2-input-part: "replycaps" supported
1689 1678 bundle2-input-part: total payload size 168
@@ -1712,7 +1701,8 Branch acl empty allow test
1712 1701 acl: acl.deny not enabled
1713 1702 error: pretxnchangegroup.acl hook failed: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374")
1714 1703 bundle2-input-part: total payload size 2068
1715 bundle2-input-bundle: 5 parts total
1704 bundle2-input-part: total payload size 48
1705 bundle2-input-bundle: 4 parts total
1716 1706 transaction abort!
1717 1707 rollback completed
1718 1708 abort: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374")
@@ -1750,13 +1740,12 Branch acl allow other
1750 1740 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
1751 1741 911600dab2ae7a9baff75958b84fe606851ce955
1752 1742 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1753 bundle2-output-bundle: "HG20", 6 parts total
1743 bundle2-output-bundle: "HG20", 5 parts total
1754 1744 bundle2-output-part: "replycaps" 168 bytes payload
1755 1745 bundle2-output-part: "check:phases" 48 bytes payload
1756 1746 bundle2-output-part: "check:heads" streamed payload
1757 1747 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1758 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1759 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1748 bundle2-output-part: "phase-heads" 48 bytes payload
1760 1749 bundle2-input-bundle: with-transaction
1761 1750 bundle2-input-part: "replycaps" supported
1762 1751 bundle2-input-part: total payload size 168
@@ -1785,7 +1774,8 Branch acl allow other
1785 1774 acl: acl.deny not enabled
1786 1775 error: pretxnchangegroup.acl hook failed: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374")
1787 1776 bundle2-input-part: total payload size 2068
1788 bundle2-input-bundle: 5 parts total
1777 bundle2-input-part: total payload size 48
1778 bundle2-input-bundle: 4 parts total
1789 1779 transaction abort!
1790 1780 rollback completed
1791 1781 abort: acl: user "astro" not allowed on branch "default" (changeset "ef1ea85a6374")
@@ -1817,13 +1807,12 Branch acl allow other
1817 1807 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
1818 1808 911600dab2ae7a9baff75958b84fe606851ce955
1819 1809 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1820 bundle2-output-bundle: "HG20", 6 parts total
1810 bundle2-output-bundle: "HG20", 5 parts total
1821 1811 bundle2-output-part: "replycaps" 168 bytes payload
1822 1812 bundle2-output-part: "check:phases" 48 bytes payload
1823 1813 bundle2-output-part: "check:heads" streamed payload
1824 1814 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1825 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1826 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1815 bundle2-output-part: "phase-heads" 48 bytes payload
1827 1816 bundle2-input-bundle: with-transaction
1828 1817 bundle2-input-part: "replycaps" supported
1829 1818 bundle2-input-part: total payload size 168
@@ -1859,21 +1848,15 Branch acl allow other
1859 1848 acl: branch access granted: "e8fc755d4d82" on branch "foobar"
1860 1849 acl: path access granted: "e8fc755d4d82"
1861 1850 bundle2-input-part: total payload size 2068
1862 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1863 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1864 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1865 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
1866 bundle2-input-bundle: 5 parts total
1851 bundle2-input-part: "phase-heads" supported
1852 bundle2-input-part: total payload size 48
1853 bundle2-input-bundle: 4 parts total
1867 1854 updating the branch cache
1868 bundle2-output-bundle: "HG20", 3 parts total
1855 bundle2-output-bundle: "HG20", 1 parts total
1869 1856 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1870 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1871 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1872 1857 bundle2-input-bundle: no-transaction
1873 1858 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
1874 bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
1875 bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
1876 bundle2-input-bundle: 2 parts total
1859 bundle2-input-bundle: 0 parts total
1877 1860 listing keys for "phases"
1878 1861 repository tip rolled back to revision 2 (undo push)
1879 1862 2:fb35475503ef
@@ -1913,13 +1896,12 push foobar into the remote
1913 1896 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
1914 1897 911600dab2ae7a9baff75958b84fe606851ce955
1915 1898 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
1916 bundle2-output-bundle: "HG20", 6 parts total
1899 bundle2-output-bundle: "HG20", 5 parts total
1917 1900 bundle2-output-part: "replycaps" 168 bytes payload
1918 1901 bundle2-output-part: "check:phases" 48 bytes payload
1919 1902 bundle2-output-part: "check:heads" streamed payload
1920 1903 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
1921 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1922 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1904 bundle2-output-part: "phase-heads" 48 bytes payload
1923 1905 bundle2-input-bundle: with-transaction
1924 1906 bundle2-input-part: "replycaps" supported
1925 1907 bundle2-input-part: total payload size 168
@@ -1955,21 +1937,15 push foobar into the remote
1955 1937 acl: branch access granted: "e8fc755d4d82" on branch "foobar"
1956 1938 acl: path access granted: "e8fc755d4d82"
1957 1939 bundle2-input-part: total payload size 2068
1958 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1959 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
1960 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
1961 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
1962 bundle2-input-bundle: 5 parts total
1940 bundle2-input-part: "phase-heads" supported
1941 bundle2-input-part: total payload size 48
1942 bundle2-input-bundle: 4 parts total
1963 1943 updating the branch cache
1964 bundle2-output-bundle: "HG20", 3 parts total
1944 bundle2-output-bundle: "HG20", 1 parts total
1965 1945 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
1966 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1967 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
1968 1946 bundle2-input-bundle: no-transaction
1969 1947 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
1970 bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
1971 bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
1972 bundle2-input-bundle: 2 parts total
1948 bundle2-input-bundle: 0 parts total
1973 1949 listing keys for "phases"
1974 1950 repository tip rolled back to revision 2 (undo push)
1975 1951 2:fb35475503ef
@@ -2008,13 +1984,12 Branch acl conflicting deny
2008 1984 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
2009 1985 911600dab2ae7a9baff75958b84fe606851ce955
2010 1986 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
2011 bundle2-output-bundle: "HG20", 6 parts total
1987 bundle2-output-bundle: "HG20", 5 parts total
2012 1988 bundle2-output-part: "replycaps" 168 bytes payload
2013 1989 bundle2-output-part: "check:phases" 48 bytes payload
2014 1990 bundle2-output-part: "check:heads" streamed payload
2015 1991 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
2016 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
2017 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
1992 bundle2-output-part: "phase-heads" 48 bytes payload
2018 1993 bundle2-input-bundle: with-transaction
2019 1994 bundle2-input-part: "replycaps" supported
2020 1995 bundle2-input-part: total payload size 168
@@ -2043,7 +2018,8 Branch acl conflicting deny
2043 2018 acl: acl.deny not enabled
2044 2019 error: pretxnchangegroup.acl hook failed: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374")
2045 2020 bundle2-input-part: total payload size 2068
2046 bundle2-input-bundle: 5 parts total
2021 bundle2-input-part: total payload size 48
2022 bundle2-input-bundle: 4 parts total
2047 2023 transaction abort!
2048 2024 rollback completed
2049 2025 abort: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374")
@@ -2080,13 +2056,12 User 'astro' must not be denied
2080 2056 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
2081 2057 911600dab2ae7a9baff75958b84fe606851ce955
2082 2058 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
2083 bundle2-output-bundle: "HG20", 6 parts total
2059 bundle2-output-bundle: "HG20", 5 parts total
2084 2060 bundle2-output-part: "replycaps" 168 bytes payload
2085 2061 bundle2-output-part: "check:phases" 48 bytes payload
2086 2062 bundle2-output-part: "check:heads" streamed payload
2087 2063 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
2088 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
2089 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
2064 bundle2-output-part: "phase-heads" 48 bytes payload
2090 2065 bundle2-input-bundle: with-transaction
2091 2066 bundle2-input-part: "replycaps" supported
2092 2067 bundle2-input-part: total payload size 168
@@ -2122,21 +2097,15 User 'astro' must not be denied
2122 2097 acl: branch access granted: "e8fc755d4d82" on branch "foobar"
2123 2098 acl: path access granted: "e8fc755d4d82"
2124 2099 bundle2-input-part: total payload size 2068
2125 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
2126 pushing key for "phases:911600dab2ae7a9baff75958b84fe606851ce955"
2127 bundle2-input-part: "pushkey" (params: 4 mandatory) supported
2128 pushing key for "phases:e8fc755d4d8217ee5b0c2bb41558c40d43b92c01"
2129 bundle2-input-bundle: 5 parts total
2100 bundle2-input-part: "phase-heads" supported
2101 bundle2-input-part: total payload size 48
2102 bundle2-input-bundle: 4 parts total
2130 2103 updating the branch cache
2131 bundle2-output-bundle: "HG20", 3 parts total
2104 bundle2-output-bundle: "HG20", 1 parts total
2132 2105 bundle2-output-part: "reply:changegroup" (advisory) (params: 0 advisory) empty payload
2133 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
2134 bundle2-output-part: "reply:pushkey" (params: 0 advisory) empty payload
2135 2106 bundle2-input-bundle: no-transaction
2136 2107 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported
2137 bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
2138 bundle2-input-part: "reply:pushkey" (params: 0 advisory) supported
2139 bundle2-input-bundle: 2 parts total
2108 bundle2-input-bundle: 0 parts total
2140 2109 listing keys for "phases"
2141 2110 repository tip rolled back to revision 2 (undo push)
2142 2111 2:fb35475503ef
@@ -2169,13 +2138,12 Non-astro users must be denied
2169 2138 f9cafe1212c8c6fa1120d14a556e18cc44ff8bdd
2170 2139 911600dab2ae7a9baff75958b84fe606851ce955
2171 2140 e8fc755d4d8217ee5b0c2bb41558c40d43b92c01
2172 bundle2-output-bundle: "HG20", 6 parts total
2141 bundle2-output-bundle: "HG20", 5 parts total
2173 2142 bundle2-output-part: "replycaps" 168 bytes payload
2174 2143 bundle2-output-part: "check:phases" 48 bytes payload
2175 2144 bundle2-output-part: "check:heads" streamed payload
2176 2145 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
2177 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
2178 bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
2146 bundle2-output-part: "phase-heads" 48 bytes payload
2179 2147 bundle2-input-bundle: with-transaction
2180 2148 bundle2-input-part: "replycaps" supported
2181 2149 bundle2-input-part: total payload size 168
@@ -2204,7 +2172,8 Non-astro users must be denied
2204 2172 acl: acl.deny not enabled
2205 2173 error: pretxnchangegroup.acl hook failed: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374")
2206 2174 bundle2-input-part: total payload size 2068
2207 bundle2-input-bundle: 5 parts total
2175 bundle2-input-part: total payload size 48
2176 bundle2-input-bundle: 4 parts total
2208 2177 transaction abort!
2209 2178 rollback completed
2210 2179 abort: acl: user "george" denied on branch "default" (changeset "ef1ea85a6374")
@@ -252,9 +252,6 push
252 252 remote: added 1 changesets with 0 changes to 0 files (-1 heads)
253 253 remote: 1 new obsolescence markers
254 254 remote: pre-close-tip:eea13746799a public book_eea1
255 remote: pushkey: lock state after "phases"
256 remote: lock: free
257 remote: wlock: free
258 255 remote: pushkey: lock state after "bookmarks"
259 256 remote: lock: free
260 257 remote: wlock: free
@@ -392,9 +389,6 push over http
392 389 remote: added 1 changesets with 1 changes to 1 files
393 390 remote: 1 new obsolescence markers
394 391 remote: pre-close-tip:32af7686d403 public book_32af
395 remote: pushkey: lock state after "phases"
396 remote: lock: free
397 remote: wlock: free
398 392 remote: pushkey: lock state after "bookmarks"
399 393 remote: lock: free
400 394 remote: wlock: free
@@ -70,7 +70,6 expect success
70 70 remote: adding manifests
71 71 remote: adding file changes
72 72 remote: added 1 changesets with 1 changes to 1 files
73 remote: pushkey hook: HG_HOOKNAME=pushkey HG_HOOKTYPE=pushkey HG_KEY=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_NAMESPACE=phases HG_NEW=0 HG_OLD=1 HG_RET=1
74 73 remote: phase-move: cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b: 1 -> 0
75 74 remote: phase-move: ba677d0156c1196c1a699fa53f390dcfc3ce3872: -> 0
76 75 remote: changegroup hook: HG_BUNDLE2=1 HG_HOOKNAME=changegroup HG_HOOKTYPE=changegroup HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_NODE_LAST=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_TXNID=TXN:$ID$ HG_URL=remote:http:$LOCALIP: (glob)
@@ -89,7 +88,6 expect success, server lacks the httphea
89 88 remote: adding manifests
90 89 remote: adding file changes
91 90 remote: added 1 changesets with 1 changes to 1 files
92 remote: pushkey hook: HG_HOOKNAME=pushkey HG_HOOKTYPE=pushkey HG_KEY=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_NAMESPACE=phases HG_NEW=0 HG_OLD=1 HG_RET=1
93 91 remote: phase-move: cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b: 1 -> 0
94 92 remote: phase-move: ba677d0156c1196c1a699fa53f390dcfc3ce3872: -> 0
95 93 remote: changegroup hook: HG_BUNDLE2=1 HG_HOOKNAME=changegroup HG_HOOKTYPE=changegroup HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_NODE_LAST=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_TXNID=TXN:$ID$ HG_URL=remote:http:$LOCALIP: (glob)
@@ -108,7 +106,6 expect success, server lacks the unbundl
108 106 remote: adding manifests
109 107 remote: adding file changes
110 108 remote: added 1 changesets with 1 changes to 1 files
111 remote: pushkey hook: HG_HOOKNAME=pushkey HG_HOOKTYPE=pushkey HG_KEY=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_NAMESPACE=phases HG_NEW=0 HG_OLD=1 HG_RET=1
112 109 remote: phase-move: cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b: 1 -> 0
113 110 remote: phase-move: ba677d0156c1196c1a699fa53f390dcfc3ce3872: -> 0
114 111 remote: changegroup hook: HG_BUNDLE2=1 HG_HOOKNAME=changegroup HG_HOOKTYPE=changegroup HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_NODE_LAST=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_TXNID=TXN:$ID$ HG_URL=remote:http:$LOCALIP: (glob)
@@ -124,6 +121,8 expect push success, phase change failur
124 121 > allow_push = *
125 122 > [hooks]
126 123 > prepushkey = sh -c "printenv.py prepushkey 1"
124 > [devel]
125 > legacy.exchange=phases
127 126 > EOF
128 127 $ req
129 128 pushing to http://localhost:$HGPORT/
@@ -144,6 +143,8 expect phase change success
144 143
145 144 $ cat >> .hg/hgrc <<EOF
146 145 > prepushkey = sh -c "printenv.py prepushkey 0"
146 > [devel]
147 > legacy.exchange=
147 148 > EOF
148 149 $ req
149 150 pushing to http://localhost:$HGPORT/
@@ -152,7 +153,6 expect phase change success
152 153 remote: adding manifests
153 154 remote: adding file changes
154 155 remote: added 1 changesets with 1 changes to 1 files
155 remote: prepushkey hook: HG_BUNDLE2=1 HG_HOOKNAME=prepushkey HG_HOOKTYPE=prepushkey HG_KEY=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_NAMESPACE=phases HG_NEW=0 HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_NODE_LAST=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_OLD=1 HG_PENDING=$TESTTMP/test HG_PHASES_MOVED=1 HG_SOURCE=serve HG_TXNID=TXN:$ID$ HG_URL=remote:http:$LOCALIP: (glob)
156 156 % serve errors
157 157 $ hg rollback
158 158 repository tip rolled back to revision 0 (undo serve)
General Comments 0
You need to be logged in to leave comments. Login now