--- a/mercurial/changelog.py Tue May 04 08:54:28 2021 -0700
+++ b/mercurial/changelog.py Tue Apr 06 05:20:24 2021 +0200
@@ -25,7 +25,10 @@
dateutil,
stringutil,
)
-from .revlogutils import flagutil
+from .revlogutils import (
+ constants as revlog_constants,
+ flagutil,
+)
_defaultextra = {b'branch': b'default'}
@@ -401,7 +404,8 @@
revlog.revlog.__init__(
self,
opener,
- indexfile,
+ target=(revlog_constants.KIND_CHANGELOG, None),
+ indexfile=indexfile,
datafile=datafile,
checkambig=True,
mmaplargeindex=True,