diff mercurial/localrepo.py @ 47276:a07381751dc9

changelogv2: `copies-side-data` now implies `changelogv2` To store information about file changes and copies only requires sidedata support for the changelog. So we only enables `changelogv2`. This is less impactful and should help us to ship the changeset centric copy tracing sooner. Differential Revision: https://phab.mercurial-scm.org/D10662
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 04 May 2021 03:05:52 +0200
parents 6c84fc9c9a90
children ed0d54b20c5b
line wrap: on
line diff
--- a/mercurial/localrepo.py	Tue May 04 04:32:09 2021 +0200
+++ b/mercurial/localrepo.py	Tue May 04 03:05:52 2021 +0200
@@ -3529,8 +3529,7 @@
 
     # experimental config: format.exp-use-copies-side-data-changeset
     if ui.configbool(b'format', b'exp-use-copies-side-data-changeset'):
-        requirements.discard(requirementsmod.REVLOGV1_REQUIREMENT)
-        requirements.add(requirementsmod.REVLOGV2_REQUIREMENT)
+        requirements.add(requirementsmod.CHANGELOGV2_REQUIREMENT)
         requirements.add(requirementsmod.COPIESSDC_REQUIREMENT)
     if ui.configbool(b'experimental', b'treemanifest'):
         requirements.add(requirementsmod.TREEMANIFEST_REQUIREMENT)