mercurial/changelog.py
changeset 47150 8d3c2f9d4af7
parent 47148 a07d5cb03a85
child 47214 906a7bcaac86
--- a/mercurial/changelog.py	Mon May 03 12:22:26 2021 +0200
+++ b/mercurial/changelog.py	Mon May 03 12:22:36 2021 +0200
@@ -396,20 +396,17 @@
         the documentation there.
         """
 
-        indexfile = b'00changelog.i'
         if trypending and opener.exists(b'00changelog.i.a'):
             postfix = b'a'
         else:
             postfix = None
 
-        datafile = b'00changelog.d'
         revlog.revlog.__init__(
             self,
             opener,
             target=(revlog_constants.KIND_CHANGELOG, None),
+            radix=b'00changelog',
             postfix=postfix,
-            indexfile=indexfile,
-            datafile=datafile,
             checkambig=True,
             mmaplargeindex=True,
             persistentnodemap=opener.options.get(b'persistent-nodemap', False),