mercurial/localrepo.py
changeset 47226 19d4802cb304
parent 47221 5eb5b866e517
child 47229 21b3e6116bd1
--- a/mercurial/localrepo.py	Mon May 03 12:29:41 2021 +0200
+++ b/mercurial/localrepo.py	Mon May 03 12:29:52 2021 +0200
@@ -737,6 +737,9 @@
     storevfs = store.vfs
     storevfs.options = resolvestorevfsoptions(ui, requirements, features)
 
+    if requirementsmod.REVLOGV2_REQUIREMENT in requirements:
+        features.add(repository.REPO_FEATURE_SIDE_DATA)
+
     # The cache vfs is used to manage cache files.
     cachevfs = vfsmod.vfs(cachepath, cacheaudited=True)
     cachevfs.createmode = store.createmode