diff mercurial/upgrade_utils/actions.py @ 46626:ee91966aec0f

requirements: add constant for revlog v1 requirement Since this series is adding a new requirement, we might as well clean up while we're here. Differential Revision: https://phab.mercurial-scm.org/D10105
author Raphaël Gomès <rgomes@octobus.net>
date Wed, 03 Mar 2021 14:00:45 +0100
parents 60ea95471b83
children f4c325bf80fc
line wrap: on
line diff
--- a/mercurial/upgrade_utils/actions.py	Thu Feb 18 15:07:45 2021 +0100
+++ b/mercurial/upgrade_utils/actions.py	Wed Mar 03 14:00:45 2021 +0100
@@ -857,7 +857,7 @@
     """
     return {
         # Introduced in Mercurial 0.9.2.
-        b'revlogv1',
+        requirements.REVLOGV1_REQUIREMENT,
         # Introduced in Mercurial 0.9.2.
         b'store',
     }
@@ -937,7 +937,7 @@
         b'dotencode',
         b'fncache',
         b'generaldelta',
-        b'revlogv1',
+        requirements.REVLOGV1_REQUIREMENT,
         b'store',
         requirements.SPARSEREVLOG_REQUIREMENT,
         requirements.SIDEDATA_REQUIREMENT,