# HG changeset patch # User Pierre-Yves David # Date 1642444090 -3600 # Node ID 66b59fbb0cddb2c42bf1afff390438eaf96899f7 # Parent baddab229b867687f474af6208d875f03a24a000 requirements: move the comment about manifestv2 in the module This is about requirements, so lets put it into the requirements module. We are about to remove code it was previously attached too. Differential Revision: https://phab.mercurial-scm.org/D12033 diff -r baddab229b86 -r 66b59fbb0cdd mercurial/localrepo.py --- a/mercurial/localrepo.py Mon Jan 17 19:26:36 2022 +0100 +++ b/mercurial/localrepo.py Mon Jan 17 19:28:10 2022 +0100 @@ -1274,11 +1274,6 @@ used. """ - # obsolete experimental requirements: - # - manifestv2: An experimental new manifest format that allowed - # for stem compression of long paths. Experiment ended up not - # being successful (repository sizes went up due to worse delta - # chains), and the code was deleted in 4.6. supportedformats = { requirementsmod.REVLOGV1_REQUIREMENT, requirementsmod.GENERALDELTA_REQUIREMENT, diff -r baddab229b86 -r 66b59fbb0cdd mercurial/requirements.py --- a/mercurial/requirements.py Mon Jan 17 19:26:36 2022 +0100 +++ b/mercurial/requirements.py Mon Jan 17 19:28:10 2022 +0100 @@ -7,6 +7,12 @@ from __future__ import absolute_import +# obsolete experimental requirements: +# - manifestv2: An experimental new manifest format that allowed +# for stem compression of long paths. Experiment ended up not +# being successful (repository sizes went up due to worse delta +# chains), and the code was deleted in 4.6. + GENERALDELTA_REQUIREMENT = b'generaldelta' DOTENCODE_REQUIREMENT = b'dotencode' STORE_REQUIREMENT = b'store'