mercurial/revlog.py
changeset 47160 0a66eef0ed97
parent 47159 1ec64f59dc27
child 47161 f574734eb2b7
--- a/mercurial/revlog.py	Mon May 03 12:24:08 2021 +0200
+++ b/mercurial/revlog.py	Mon May 03 12:24:18 2021 +0200
@@ -1941,7 +1941,7 @@
                     revornode = templatefilters.short(hex(node))
                 raise error.RevlogError(
                     _(b"integrity check failed on %s:%s")
-                    % (self._indexfile, pycompat.bytestr(revornode))
+                    % (self.display_id, pycompat.bytestr(revornode))
                 )
         except error.RevlogError:
             if self._censorable and storageutil.iscensoredtext(text):