Mercurial > hg
comparison tests/test-lfs-test-server.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 | 87167caa2989 |
children | 95c4cca641f6 |
comparison
equal
deleted
inserted
replaced
44411:1e508097f570 | 44412:edc8504bc26b |
---|---|
294 list of changesets: | 294 list of changesets: |
295 dfca2c9e2ef24996aa61ba2abd99277d884b3d63 | 295 dfca2c9e2ef24996aa61ba2abd99277d884b3d63 |
296 bundle2-output-bundle: "HG20", 5 parts total | 296 bundle2-output-bundle: "HG20", 5 parts total |
297 bundle2-output-part: "replycaps" * bytes payload (glob) | 297 bundle2-output-part: "replycaps" * bytes payload (glob) |
298 bundle2-output-part: "check:phases" 24 bytes payload | 298 bundle2-output-part: "check:phases" 24 bytes payload |
299 bundle2-output-part: "check:heads" streamed payload | 299 bundle2-output-part: "check:updated-heads" streamed payload |
300 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | 300 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
301 bundle2-output-part: "phase-heads" 24 bytes payload | 301 bundle2-output-part: "phase-heads" 24 bytes payload |
302 bundle2-input-bundle: with-transaction | 302 bundle2-input-bundle: with-transaction |
303 bundle2-input-part: "replycaps" supported | 303 bundle2-input-part: "replycaps" supported |
304 bundle2-input-part: total payload size * (glob) | 304 bundle2-input-part: total payload size * (glob) |
305 bundle2-input-part: "check:phases" supported | 305 bundle2-input-part: "check:phases" supported |
306 bundle2-input-part: total payload size 24 | 306 bundle2-input-part: total payload size 24 |
307 bundle2-input-part: "check:heads" supported | 307 bundle2-input-part: "check:updated-heads" supported |
308 bundle2-input-part: total payload size 20 | 308 bundle2-input-part: total payload size 20 |
309 bundle2-input-part: "changegroup" (params: 1 mandatory) supported | 309 bundle2-input-part: "changegroup" (params: 1 mandatory) supported |
310 adding changesets | 310 adding changesets |
311 add changeset dfca2c9e2ef2 | 311 add changeset dfca2c9e2ef2 |
312 adding manifests | 312 adding manifests |