mercurial/bundlecaches.py
changeset 47342 dc3800569157
parent 46627 f4c325bf80fc
child 48601 baddab229b86
--- a/mercurial/bundlecaches.py	Sun May 30 20:42:51 2021 +0200
+++ b/mercurial/bundlecaches.py	Sun May 30 22:12:48 2021 +0200
@@ -167,6 +167,8 @@
             # Generaldelta repos require v2.
             if requirementsmod.GENERALDELTA_REQUIREMENT in repo.requirements:
                 version = b'v2'
+            elif requirementsmod.REVLOGV2_REQUIREMENT in repo.requirements:
+                version = b'v2'
             # Modern compression engines require v2.
             if compression not in _bundlespecv1compengines:
                 version = b'v2'