diff -r edaa40dc5fe5 -r 5ccd791344f3 mercurial/localrepo.py --- a/mercurial/localrepo.py Fri Sep 21 21:44:27 2018 -0400 +++ b/mercurial/localrepo.py Tue Sep 18 15:15:24 2018 -0700 @@ -994,15 +994,10 @@ return changelog.changelog(self.svfs, trypending=txnutil.mayhavepending(self.root)) - def _constructmanifest(self): - # This is a temporary function while we migrate from manifest to - # manifestlog. It allows bundlerepo and unionrepo to intercept the - # manifest creation. - return manifest.manifestrevlog(self.svfs) - @storecache('00manifest.i') def manifestlog(self): - return manifest.manifestlog(self.svfs, self) + rootstore = manifest.manifestrevlog(self.svfs) + return manifest.manifestlog(self.svfs, self, rootstore) @repofilecache('dirstate') def dirstate(self):