mercurial/manifest.py
changeset 41038 3913223417ea
parent 40430 6a917075535a
child 41153 2c3f69855ce8
--- a/mercurial/manifest.py	Sat Dec 22 00:05:39 2018 -0500
+++ b/mercurial/manifest.py	Mon Dec 03 22:22:23 2018 -0800
@@ -1636,7 +1636,7 @@
     of the list of files in the given commit. Consumers of the output of this
     class do not care about the implementation details of the actual manifests
     they receive (i.e. tree or flat or lazily loaded, etc)."""
-    def __init__(self, opener, repo, rootstore):
+    def __init__(self, opener, repo, rootstore, narrowmatch):
         usetreemanifest = False
         cachesize = 4
 
@@ -1649,7 +1649,7 @@
 
         self._rootstore = rootstore
         self._rootstore._setupmanifestcachehooks(repo)
-        self._narrowmatch = repo.narrowmatch()
+        self._narrowmatch = narrowmatch
 
         # A cache of the manifestctx or treemanifestctx for each directory
         self._dirmancache = {}