Mercurial > hg
comparison mercurial/statichttprepo.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 | e4e881572382 |
children | 2bf689b13a17 |
comparison
equal
deleted
inserted
replaced
41037:2eeef8e577ac | 41038:3913223417ea |
---|---|
185 self.sjoin = self.store.join | 185 self.sjoin = self.store.join |
186 self._filecache = {} | 186 self._filecache = {} |
187 self.requirements = requirements | 187 self.requirements = requirements |
188 | 188 |
189 rootmanifest = manifest.manifestrevlog(self.svfs) | 189 rootmanifest = manifest.manifestrevlog(self.svfs) |
190 self.manifestlog = manifest.manifestlog(self.svfs, self, rootmanifest) | 190 self.manifestlog = manifest.manifestlog(self.svfs, self, rootmanifest, |
191 self.narrowmatch()) | |
191 self.changelog = changelog.changelog(self.svfs) | 192 self.changelog = changelog.changelog(self.svfs) |
192 self._tags = None | 193 self._tags = None |
193 self.nodetagscache = None | 194 self.nodetagscache = None |
194 self._branchcaches = {} | 195 self._branchcaches = {} |
195 self._revbranchcache = None | 196 self._revbranchcache = None |