Mercurial > public > mercurial-scm > hg
diff mercurial/upgrade_utils/actions.py @ 46638:b4c2a2af25e2
requirements: also add a fncache constant
Continue the cleanup to the remaining requirements
Differential Revision: https://phab.mercurial-scm.org/D10109
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Wed, 03 Mar 2021 12:37:13 +0100 |
parents | ab58098bebed |
children | fd55a9eb1507 |
line wrap: on
line diff
--- a/mercurial/upgrade_utils/actions.py Wed Mar 03 12:35:29 2021 +0100 +++ b/mercurial/upgrade_utils/actions.py Wed Mar 03 12:37:13 2021 +0100 @@ -197,7 +197,7 @@ class fncache(requirementformatvariant): name = b'fncache' - _requirement = b'fncache' + _requirement = requirements.FNCACHE_REQUIREMENT default = True @@ -935,7 +935,7 @@ """ supported = { requirements.DOTENCODE_REQUIREMENT, - b'fncache', + requirements.FNCACHE_REQUIREMENT, requirements.GENERALDELTA_REQUIREMENT, requirements.REVLOGV1_REQUIREMENT, requirements.STORE_REQUIREMENT, @@ -966,7 +966,7 @@ """ supported = { requirements.DOTENCODE_REQUIREMENT, - b'fncache', + requirements.FNCACHE_REQUIREMENT, requirements.GENERALDELTA_REQUIREMENT, requirements.SPARSEREVLOG_REQUIREMENT, requirements.SIDEDATA_REQUIREMENT,