Mercurial > public > mercurial-scm > hg-stable
diff mercurial/upgrade_utils/actions.py @ 46666:f4c325bf80fc
requirements: also add a generaldelta constant
Continue the cleanup to the remaining requirements
Differential Revision: https://phab.mercurial-scm.org/D10106
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Wed, 03 Mar 2021 12:30:23 +0100 |
parents | ee91966aec0f |
children | c3773636ddbb |
line wrap: on
line diff
--- a/mercurial/upgrade_utils/actions.py Wed Mar 03 14:00:45 2021 +0100 +++ b/mercurial/upgrade_utils/actions.py Wed Mar 03 12:30:23 2021 +0100 @@ -20,7 +20,7 @@ # list of requirements that request a clone of all revlog if added/removed RECLONES_REQUIREMENTS = { - b'generaldelta', + requirements.GENERALDELTA_REQUIREMENT, requirements.SPARSEREVLOG_REQUIREMENT, } @@ -236,7 +236,7 @@ class generaldelta(requirementformatvariant): name = b'generaldelta' - _requirement = b'generaldelta' + _requirement = requirements.GENERALDELTA_REQUIREMENT default = True @@ -936,7 +936,7 @@ supported = { b'dotencode', b'fncache', - b'generaldelta', + requirements.GENERALDELTA_REQUIREMENT, requirements.REVLOGV1_REQUIREMENT, b'store', requirements.SPARSEREVLOG_REQUIREMENT, @@ -967,7 +967,7 @@ supported = { b'dotencode', b'fncache', - b'generaldelta', + requirements.GENERALDELTA_REQUIREMENT, requirements.SPARSEREVLOG_REQUIREMENT, requirements.SIDEDATA_REQUIREMENT, requirements.COPIESSDC_REQUIREMENT,