tests/pullext.py
changeset 45392 77b8588dd84e
parent 43554 9f70512ae2cf
child 48966 6000f5b25c9b
--- a/tests/pullext.py	Sat Aug 08 15:48:17 2020 +0530
+++ b/tests/pullext.py	Sat Aug 08 16:24:12 2020 +0530
@@ -13,8 +13,8 @@
     error,
     extensions,
     localrepo,
+    requirements,
 )
-from mercurial.interfaces import repository
 
 
 def clonecommand(orig, ui, repo, *args, **kwargs):
@@ -31,7 +31,7 @@
 
 
 def featuresetup(ui, features):
-    features.add(repository.NARROW_REQUIREMENT)
+    features.add(requirements.NARROW_REQUIREMENT)
 
 
 def extsetup(ui):