mercurial/localrepo.py
changeset 49663 45d7b8c380d7
parent 49657 f5f113f1b011
child 49748 78af51ba73c5
--- a/mercurial/localrepo.py	Mon Nov 21 15:04:19 2022 +0100
+++ b/mercurial/localrepo.py	Tue Nov 22 12:44:22 2022 +0100
@@ -1068,6 +1068,8 @@
         options[b'revlogv2'] = True
     if requirementsmod.CHANGELOGV2_REQUIREMENT in requirements:
         options[b'changelogv2'] = True
+        cmp_rank = ui.configbool(b'experimental', b'changelog-v2.compute-rank')
+        options[b'changelogv2.compute-rank'] = cmp_rank
 
     if requirementsmod.GENERALDELTA_REQUIREMENT in requirements:
         options[b'generaldelta'] = True