mercurial/upgrade.py
changeset 45391 e58e234096de
parent 45106 a03c177a4679
child 45392 77b8588dd84e
--- a/mercurial/upgrade.py	Tue Jul 21 22:13:54 2020 +0200
+++ b/mercurial/upgrade.py	Sat Aug 08 15:48:17 2020 +0530
@@ -26,6 +26,7 @@
     vfs as vfsmod,
 )
 
+from .interfaces import repository
 from .utils import compression
 
 # list of requirements that request a clone of all revlog if added/removed
@@ -58,7 +59,7 @@
     return {
         # The upgrade code does not yet support these experimental features.
         # This is an artificial limitation.
-        b'treemanifest',
+        repository.TREEMANIFEST_REQUIREMENT,
         # This was a precursor to generaldelta and was never enabled by default.
         # It should (hopefully) not exist in the wild.
         b'parentdelta',