comparison tests/test-strip.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 42d2b31cee0b
children 02eae2df911a
comparison
equal deleted inserted replaced
50380:806ca6bd0719 50381:2cf264e9aa75
249 date: Thu Jan 01 00:00:00 1970 +0000 249 date: Thu Jan 01 00:00:00 1970 +0000
250 summary: b 250 summary: b
251 251
252 $ hg debugbundle .hg/strip-backup/* 252 $ hg debugbundle .hg/strip-backup/*
253 Stream params: {Compression: BZ} 253 Stream params: {Compression: BZ}
254 changegroup -- {nbchanges: 1, version: 02} (mandatory: True) 254 changegroup -- {nbchanges: 1, version: 03} (mandatory: True)
255 264128213d290d868c54642d13aeaa3675551a78 255 264128213d290d868c54642d13aeaa3675551a78
256 cache:rev-branch-cache -- {} (mandatory: False) 256 cache:rev-branch-cache -- {} (mandatory: False)
257 phase-heads -- {} (mandatory: True) 257 phase-heads -- {} (mandatory: True)
258 264128213d290d868c54642d13aeaa3675551a78 draft 258 264128213d290d868c54642d13aeaa3675551a78 draft
259 $ hg unbundle .hg/strip-backup/* 259 $ hg unbundle .hg/strip-backup/*