Mercurial > public > mercurial-scm > hg-stable
diff mercurial/statichttprepo.py @ 41041: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 | e4e881572382 |
children | 2bf689b13a17 |
line wrap: on
line diff
--- a/mercurial/statichttprepo.py Sat Dec 22 00:05:39 2018 -0500 +++ b/mercurial/statichttprepo.py Mon Dec 03 22:22:23 2018 -0800 @@ -187,7 +187,8 @@ self.requirements = requirements rootmanifest = manifest.manifestrevlog(self.svfs) - self.manifestlog = manifest.manifestlog(self.svfs, self, rootmanifest) + self.manifestlog = manifest.manifestlog(self.svfs, self, rootmanifest, + self.narrowmatch()) self.changelog = changelog.changelog(self.svfs) self._tags = None self.nodetagscache = None