mercurial/upgrade.py
changeset 45372 77b8588dd84e
parent 45371 e58e234096de
child 45373 d7dcc75a3eae
--- a/mercurial/upgrade.py	Sat Aug 08 15:48:17 2020 +0530
+++ b/mercurial/upgrade.py	Sat Aug 08 16:24:12 2020 +0530
@@ -20,13 +20,13 @@
     manifest,
     metadata,
     pycompat,
+    requirements,
     revlog,
     scmutil,
     util,
     vfs as vfsmod,
 )
 
-from .interfaces import repository
 from .utils import compression
 
 # list of requirements that request a clone of all revlog if added/removed
@@ -59,7 +59,7 @@
     return {
         # The upgrade code does not yet support these experimental features.
         # This is an artificial limitation.
-        repository.TREEMANIFEST_REQUIREMENT,
+        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',