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
Showing
- mercurial/configitems.py 1 addition, 1 deletionmercurial/configitems.py
- mercurial/helptext/config.txt 2 additions, 2 deletionsmercurial/helptext/config.txt
- relnotes/next 5 additions, 0 deletionsrelnotes/next
- tests/common-pattern.py 4 additions, 0 deletionstests/common-pattern.py
- tests/test-acl.t 163 additions, 125 deletionstests/test-acl.t
- tests/test-bookmarks-pushpull.t 8 additions, 8 deletionstests/test-bookmarks-pushpull.t
- tests/test-clone-uncompressed.t 4 additions, 0 deletionstests/test-clone-uncompressed.t
- tests/test-debugcommands.t 3 additions, 1 deletiontests/test-debugcommands.t
- tests/test-http-bad-server.t 2 additions, 0 deletionstests/test-http-bad-server.t
- tests/test-http-protocol.t 4 additions, 4 deletionstests/test-http-protocol.t
- tests/test-http.t 5 additions, 5 deletionstests/test-http.t
- tests/test-infinitepush-ci.t 25 additions, 25 deletionstests/test-infinitepush-ci.t
- tests/test-lfs-serve-access.t 5 additions, 5 deletionstests/test-lfs-serve-access.t
- tests/test-lfs-test-server.t 2 additions, 2 deletionstests/test-lfs-test-server.t
- tests/test-push-race.t 2 additions, 2 deletionstests/test-push-race.t
- tests/test-ssh-bundle1.t 1 addition, 1 deletiontests/test-ssh-bundle1.t
- tests/test-ssh-proto-unbundle.t 60 additions, 60 deletionstests/test-ssh-proto-unbundle.t
- tests/test-ssh-proto.t 101 additions, 99 deletionstests/test-ssh-proto.t
- tests/test-ssh.t 2 additions, 2 deletionstests/test-ssh.t
- tests/test-wireproto-command-capabilities.t 4 additions, 4 deletionstests/test-wireproto-command-capabilities.t
Loading
Please register or sign in to comment