--- a/mercurial/manifest.py Tue May 04 08:54:28 2021 -0700
+++ b/mercurial/manifest.py Tue Apr 06 05:20:24 2021 +0200
@@ -34,6 +34,9 @@
repository,
util as interfaceutil,
)
+from .revlogutils import (
+ constants as revlog_constants,
+)
parsers = policy.importmod('parsers')
propertycache = util.propertycache
@@ -1610,7 +1613,8 @@
self._revlog = revlog.revlog(
opener,
- indexfile,
+ target=(revlog_constants.KIND_MANIFESTLOG, self.tree),
+ indexfile=indexfile,
# only root indexfile is cached
checkambig=not bool(tree),
mmaplargeindex=True,