diff mercurial/localrepo.py @ 51028:133f5a54ed9d

revlog: create the revlog object at the repository level There is currently no value set in it, but we will be able to start centralise config parsing at the repository level.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 10 Oct 2023 10:02:21 +0200
parents 18c8c18993f0
children 774c00348f9f
line wrap: on
line diff
--- a/mercurial/localrepo.py	Tue Oct 10 10:02:13 2023 +0200
+++ b/mercurial/localrepo.py	Tue Oct 10 10:02:21 2023 +0200
@@ -1068,6 +1068,10 @@
     options = {}
     options[b'flagprocessors'] = {}
 
+    feature_config = options[b'feature-config'] = revlog.FeatureConfig()
+    data_config = options[b'data-config'] = revlog.DataConfig()
+    delta_config = options[b'delta-config'] = revlog.DeltaConfig()
+
     if requirementsmod.REVLOGV1_REQUIREMENT in requirements:
         options[b'revlogv1'] = True
     if requirementsmod.REVLOGV2_REQUIREMENT in requirements: