Mercurial > hg
comparison tests/test-http.t @ 50381:2cf264e9aa75
configitems: enable changegroup3 by default (unless using infinitepush)
The LFS extension requires this, and if it isn't enabled on the client (or the
LFS extension isn't loaded), a web client gets a 500 instead of a sensible error
message. Now it gets a different (client) error, but maybe it can be handled
more gracefully. c0f11347b107 indicates that treemanifest repos have this issue
too. 29cfc474c5fd mentions gating this behind `experimental` so that the format
could change, but that was 7 years ago and we now have an experimental
`changegroup4` as well.
We can keep this as a config for the next cycle in case someone runs into an
unexpected problem, and then jettison it if the infinitepush bundle name changes
are either acceptable as-is or can be created differently.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 27 Feb 2023 23:04:09 -0500 |
parents | 2f2682f40ea0 |
children | dcaa2df1f688 |
comparison
equal
deleted
inserted
replaced
50380:806ca6bd0719 | 50381:2cf264e9aa75 |
---|---|
339 received listkey for "bookmarks": 0 bytes | 339 received listkey for "bookmarks": 0 bytes |
340 1 changesets found | 340 1 changesets found |
341 list of changesets: | 341 list of changesets: |
342 7f4e523d01f2cc3765ac8934da3d14db775ff872 | 342 7f4e523d01f2cc3765ac8934da3d14db775ff872 |
343 bundle2-output-bundle: "HG20", 5 parts total | 343 bundle2-output-bundle: "HG20", 5 parts total |
344 bundle2-output-part: "replycaps" 207 bytes payload | 344 bundle2-output-part: "replycaps" 210 bytes payload |
345 bundle2-output-part: "check:phases" 24 bytes payload | 345 bundle2-output-part: "check:phases" 24 bytes payload |
346 bundle2-output-part: "check:updated-heads" streamed payload | 346 bundle2-output-part: "check:updated-heads" streamed payload |
347 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload | 347 bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload |
348 bundle2-output-part: "phase-heads" 24 bytes payload | 348 bundle2-output-part: "phase-heads" 24 bytes payload |
349 sending unbundle command | 349 sending unbundle command |
350 sending 1023 bytes | 350 sending 1036 bytes |
351 devel-peer-request: POST http://localhost:$HGPORT2/?cmd=unbundle | 351 devel-peer-request: POST http://localhost:$HGPORT2/?cmd=unbundle |
352 devel-peer-request: Content-length 1023 | 352 devel-peer-request: Content-length 1036 |
353 devel-peer-request: Content-type application/mercurial-0.1 | 353 devel-peer-request: Content-type application/mercurial-0.1 |
354 devel-peer-request: Vary X-HgArg-1,X-HgProto-1 | 354 devel-peer-request: Vary X-HgArg-1,X-HgProto-1 |
355 devel-peer-request: X-hgproto-1 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull | 355 devel-peer-request: X-hgproto-1 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull |
356 devel-peer-request: 16 bytes of commands arguments in headers | 356 devel-peer-request: 16 bytes of commands arguments in headers |
357 devel-peer-request: 1023 bytes of data | 357 devel-peer-request: 1036 bytes of data |
358 devel-peer-request: finished in *.???? seconds (200) (glob) | 358 devel-peer-request: finished in *.???? seconds (200) (glob) |
359 bundle2-input-bundle: no-transaction | 359 bundle2-input-bundle: no-transaction |
360 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported | 360 bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported |
361 bundle2-input-part: "output" (advisory) (params: 0 advisory) supported | 361 bundle2-input-part: "output" (advisory) (params: 0 advisory) supported |
362 bundle2-input-part: total payload size 55 | 362 bundle2-input-part: total payload size 55 |