--- a/mercurial/upgrade_utils/engine.py Wed Mar 10 18:09:21 2021 +0100
+++ b/mercurial/upgrade_utils/engine.py Wed Jan 13 16:14:58 2021 +0100
@@ -36,7 +36,9 @@
return changelog.changelog(repo.svfs)
elif path.endswith(b'00manifest.i'):
mandir = path[: -len(b'00manifest.i')]
- return manifest.manifestrevlog(repo.svfs, tree=mandir)
+ return manifest.manifestrevlog(
+ repo.nodeconstants, repo.svfs, tree=mandir
+ )
else:
# reverse of "/".join(("data", path + ".i"))
return filelog.filelog(repo.svfs, path[5:-2])