diff mercurial/localrepo.py @ 41038:3913223417ea

manifest: accept narrowmatch into constructor instead of getting from repo The manifest should ideally not know at all about the repo, so this is just a little step towards cleaning that up. Differential Revision: https://phab.mercurial-scm.org/D5469
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 03 Dec 2018 22:22:23 -0800
parents a714eee1ac28
children ce0bc2952e2a
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sat Dec 22 00:05:39 2018 -0500
+++ b/mercurial/localrepo.py	Mon Dec 03 22:22:23 2018 -0800
@@ -1190,7 +1190,8 @@
     @storecache('00manifest.i')
     def manifestlog(self):
         rootstore = manifest.manifestrevlog(self.svfs)
-        return manifest.manifestlog(self.svfs, self, rootstore)
+        return manifest.manifestlog(self.svfs, self, rootstore,
+                                    self.narrowmatch())
 
     @repofilecache('dirstate')
     def dirstate(self):