comparison tests/test-debugcommands.t @ 44412:edc8504bc26b

exchange: turn on option that makes concurrent pushes work better The motivation is simply to make hg work better out of the box. This is a slight backwards compatibility break, because client extensions could have assumed that the list of heads the client sees during discovery will be the list of heads during the entirety of the push. It seems unlikely to matter, and not worth mentioning. There's a fair amount of diff in tests, but this is just due to sending a few more bytes on the wire, except for test-acl.t. The extra "invalid branch cache" lines in test-acl.t don't seem to indicate a problem: the branchcache now get computed during the bundle application (because of the check:updated-heads bundle part), but doesn't get rolled back when transactions rollback, thus causing a message in the next operation computing the branch cache. Before this change, I assume the branchcache was only computed on transaction commit, so not computed at all when the transactions roll back, thus no messages. Differential Revision: https://phab.mercurial-scm.org/D8202
author Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
date Tue, 25 Feb 2020 20:27:39 -0500
parents cdf0e9523de1
children a7b7a67b79c1
comparison
equal deleted inserted replaced
44411:1e508097f570 44412:edc8504bc26b
613 HG20 613 HG20
614 bookmarks 614 bookmarks
615 changegroup 615 changegroup
616 01 616 01
617 02 617 02
618 checkheads
619 related
618 digests 620 digests
619 md5 621 md5
620 sha1 622 sha1
621 sha512 623 sha512
622 error 624 error
648 running "*" "*\tests/dummyssh" "user@dummy" "hg -R debugrevlog serve --stdio" (glob) (windows !) 650 running "*" "*\tests/dummyssh" "user@dummy" "hg -R debugrevlog serve --stdio" (glob) (windows !)
649 devel-peer-request: hello+between 651 devel-peer-request: hello+between
650 devel-peer-request: pairs: 81 bytes 652 devel-peer-request: pairs: 81 bytes
651 sending hello command 653 sending hello command
652 sending between command 654 sending between command
653 remote: 440 655 remote: 463
654 remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash 656 remote: capabilities: batch branchmap $USUAL_BUNDLE2_CAPS$ changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash
655 remote: 1 657 remote: 1
656 devel-peer-request: protocaps 658 devel-peer-request: protocaps
657 devel-peer-request: caps: * bytes (glob) 659 devel-peer-request: caps: * bytes (glob)
658 sending protocaps command 660 sending protocaps command