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