Mercurial > public > mercurial-scm > hg
comparison mercurial/configitems.py @ 50378: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 | a6b8b1ab9116 |
children | 771294224bf6 |
comparison
equal
deleted
inserted
replaced
50377:806ca6bd0719 | 50378:2cf264e9aa75 |
---|---|
967 default=None, | 967 default=None, |
968 ) | 968 ) |
969 coreconfigitem( | 969 coreconfigitem( |
970 b'experimental', | 970 b'experimental', |
971 b'changegroup3', | 971 b'changegroup3', |
972 default=False, | 972 default=True, |
973 ) | 973 ) |
974 coreconfigitem( | 974 coreconfigitem( |
975 b'experimental', | 975 b'experimental', |
976 b'changegroup4', | 976 b'changegroup4', |
977 default=False, | 977 default=False, |