Mercurial > public > mercurial-scm > hg-stable
diff tests/test-http.t @ 46672:7015b0232c5e
exchange: stop advertising rev-branch-cache bundle capability
Since Mercurial 5.7, the corresponding bundle part is ignored as
redundant. Stop advertising it so that peers don't have to spend time
creating or transfering it.
Differential Revision: https://phab.mercurial-scm.org/D10114
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Thu, 04 Mar 2021 21:58:55 +0100 |
parents | ebee234d952a |
children | a4c19a162615 |
line wrap: on
line diff
--- a/tests/test-http.t Fri Jan 29 16:33:12 2021 -0800 +++ b/tests/test-http.t Thu Mar 04 21:58:55 2021 +0100 @@ -348,20 +348,20 @@ list of changesets: 7f4e523d01f2cc3765ac8934da3d14db775ff872 bundle2-output-bundle: "HG20", 5 parts total - bundle2-output-part: "replycaps" 224 bytes payload + bundle2-output-part: "replycaps" 207 bytes payload bundle2-output-part: "check:phases" 24 bytes payload bundle2-output-part: "check:updated-heads" streamed payload bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload bundle2-output-part: "phase-heads" 24 bytes payload sending unbundle command - sending 1040 bytes + sending 1023 bytes devel-peer-request: POST http://localhost:$HGPORT2/?cmd=unbundle - devel-peer-request: Content-length 1040 + devel-peer-request: Content-length 1023 devel-peer-request: Content-type application/mercurial-0.1 devel-peer-request: Vary X-HgArg-1,X-HgProto-1 devel-peer-request: X-hgproto-1 0.1 0.2 comp=$USUAL_COMPRESSIONS$ partial-pull devel-peer-request: 16 bytes of commands arguments in headers - devel-peer-request: 1040 bytes of data + devel-peer-request: 1023 bytes of data devel-peer-request: finished in *.???? seconds (200) (glob) bundle2-input-bundle: no-transaction bundle2-input-part: "reply:changegroup" (advisory) (params: 0 advisory) supported