diff mercurial/upgrade_utils/actions.py @ 50646:c814101560d9

tree-manifest: allow `debugupgraderepo` to run on tree manifest repo There does not seems to be anything wrong with running the current logic on them. So we remove the limitation.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 31 May 2023 18:08:56 +0100
parents d12446766a35
children d718eddf01d9 704c3d0878d9
line wrap: on
line diff
--- a/mercurial/upgrade_utils/actions.py	Wed May 31 16:04:16 2023 +0100
+++ b/mercurial/upgrade_utils/actions.py	Wed May 31 18:08:56 2023 +0100
@@ -950,9 +950,6 @@
     requirements in the returned set.
     """
     return {
-        # The upgrade code does not yet support these experimental features.
-        # This is an artificial limitation.
-        requirements.TREEMANIFEST_REQUIREMENT,
         # This was a precursor to generaldelta and was never enabled by default.
         # It should (hopefully) not exist in the wild.
         b'parentdelta',
@@ -1052,6 +1049,7 @@
         requirements.SHARESAFE_REQUIREMENT,
         requirements.SPARSEREVLOG_REQUIREMENT,
         requirements.STORE_REQUIREMENT,
+        requirements.TREEMANIFEST_REQUIREMENT,
         requirements.NARROW_REQUIREMENT,
     }
     for name in compression.compengines: