Mercurial > public > mercurial-scm > hg
diff mercurial/bundlerepo.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 | 55db747a21ad |
children | 3472a3f9d785 |
line wrap: on
line diff
--- a/mercurial/bundlerepo.py Sat Dec 22 00:05:39 2018 -0500 +++ b/mercurial/bundlerepo.py Mon Dec 03 22:22:23 2018 -0800 @@ -374,7 +374,8 @@ rootstore = bundlemanifest(self.svfs, self._cgunpacker, linkmapper) self.filestart = self._cgunpacker.tell() - return manifest.manifestlog(self.svfs, self, rootstore) + return manifest.manifestlog(self.svfs, self, rootstore, + self.narrowmatch()) def _consumemanifest(self): """Consumes the manifest portion of the bundle, setting filestart so the