changelogv2: allow upgrade from and to this format
authorPierre-Yves David <pierre-yves.david@octobus.net>
Tue, 04 May 2021 04:32:09 +0200
changeset 47264 60668fce06d0
parent 47263 6c84fc9c9a90
child 47265 a07381751dc9
changelogv2: allow upgrade from and to this format Differential Revision: https://phab.mercurial-scm.org/D10661
mercurial/upgrade_utils/actions.py
--- a/mercurial/upgrade_utils/actions.py	Mon Mar 29 22:40:54 2021 +0200
+++ b/mercurial/upgrade_utils/actions.py	Tue May 04 04:32:09 2021 +0200
@@ -31,6 +31,7 @@
     requirements.GENERALDELTA_REQUIREMENT,
     requirements.SPARSEREVLOG_REQUIREMENT,
     requirements.REVLOGV2_REQUIREMENT,
+    requirements.CHANGELOGV2_REQUIREMENT,
 }
 
 
@@ -949,6 +950,7 @@
         requirements.NODEMAP_REQUIREMENT,
         requirements.SHARESAFE_REQUIREMENT,
         requirements.REVLOGV2_REQUIREMENT,
+        requirements.CHANGELOGV2_REQUIREMENT,
         requirements.REVLOGV1_REQUIREMENT,
     }
     for name in compression.compengines:
@@ -979,6 +981,7 @@
         requirements.NODEMAP_REQUIREMENT,
         requirements.SHARESAFE_REQUIREMENT,
         requirements.REVLOGV2_REQUIREMENT,
+        requirements.CHANGELOGV2_REQUIREMENT,
     }
     for name in compression.compengines:
         engine = compression.compengines[name]
@@ -1009,6 +1012,7 @@
         requirements.SHARESAFE_REQUIREMENT,
         requirements.REVLOGV1_REQUIREMENT,
         requirements.REVLOGV2_REQUIREMENT,
+        requirements.CHANGELOGV2_REQUIREMENT,
     }
     for name in compression.compengines:
         engine = compression.compengines[name]