Mercurial > hg
comparison tests/test-http.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 | 181ee2118a96 |
children | ff48eea4a926 |
comparison
equal
deleted
inserted
replaced
44411:1e508097f570 | 44412:edc8504bc26b |
---|---|
318 received listkey for "bookmarks": 0 bytes | 318 received listkey for "bookmarks": 0 bytes |
319 1 changesets found | 319 1 changesets found |
320 list of changesets: | 320 list of changesets: |
321 7f4e523d01f2cc3765ac8934da3d14db775ff872 | 321 7f4e523d01f2cc3765ac8934da3d14db775ff872 |
322 bundle2-output-bundle: "HG20", 5 parts total | 322 bundle2-output-bundle: "HG20", 5 parts total |
323 bundle2-output-part: "replycaps" 205 bytes payload | 323 bundle2-output-part: "replycaps" 224 bytes payload |
324 bundle2-output-part: "check:phases" 24 bytes payload | 324 bundle2-output-part: "check:phases" 24 bytes payload |
325 bundle2-output-part: "check:heads" streamed payload | 325 bundle2-output-part: "check:updated-heads" streamed payload |
326 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | 326 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
327 bundle2-output-part: "phase-heads" 24 bytes payload | 327 bundle2-output-part: "phase-heads" 24 bytes payload |
328 sending unbundle command | 328 sending unbundle command |
329 sending 1013 bytes | 329 sending 1040 bytes |
330 devel-peer-request: POST http://localhost:$HGPORT2/?cmd=unbundle | 330 devel-peer-request: POST http://localhost:$HGPORT2/?cmd=unbundle |
331 devel-peer-request: Content-length 1013 | 331 devel-peer-request: Content-length 1040 |
332 devel-peer-request: Content-type application/mercurial-0.1 | 332 devel-peer-request: Content-type application/mercurial-0.1 |
333 devel-peer-request: Vary X-HgArg-1,X-HgProto-1 | 333 devel-peer-request: Vary X-HgArg-1,X-HgProto-1 |
334 devel-peer-request: X-hgproto-1 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull | 334 devel-peer-request: X-hgproto-1 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull |
335 devel-peer-request: 16 bytes of commands arguments in headers | 335 devel-peer-request: 16 bytes of commands arguments in headers |
336 devel-peer-request: 1013 bytes of data | 336 devel-peer-request: 1040 bytes of data |
337 devel-peer-request: finished in *.???? seconds (200) (glob) | 337 devel-peer-request: finished in *.???? seconds (200) (glob) |
338 bundle2-input-bundle: no-transaction | 338 bundle2-input-bundle: no-transaction |
339 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported | 339 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported |
340 bundle2-input-part: "output" (advisory) (params: 0 advisory) supported | 340 bundle2-input-part: "output" (advisory) (params: 0 advisory) supported |
341 bundle2-input-part: total payload size 55 | 341 bundle2-input-part: total payload size 55 |