mercurial/localrepo.py
changeset 38835 a232e6744ba3
parent 38783 e7aa113b14f7
child 38841 df0873ab5c14
--- a/mercurial/localrepo.py	Fri Aug 03 12:35:23 2018 -0700
+++ b/mercurial/localrepo.py	Fri Aug 03 11:02:34 2018 -0700
@@ -825,7 +825,7 @@
 
     @repofilecache(narrowspec.FILENAME)
     def _narrowmatch(self):
-        if changegroup.NARROW_REQUIREMENT not in self.requirements:
+        if repository.NARROW_REQUIREMENT not in self.requirements:
             return matchmod.always(self.root, '')
         include, exclude = self.narrowpats
         return narrowspec.match(self.root, include=include, exclude=exclude)