mercurial/revlog.py
changeset 34044 b2eb0aa445cb
parent 33956 9180f8f593f3
child 34045 bfb38c5cebf4
--- a/mercurial/revlog.py	Tue Aug 22 23:11:35 2017 -0400
+++ b/mercurial/revlog.py	Tue Aug 22 21:21:43 2017 -0400
@@ -1473,7 +1473,7 @@
             if revornode is None:
                 revornode = templatefilters.short(hex(node))
             raise RevlogError(_("integrity check failed on %s:%s")
-                % (self.indexfile, revornode))
+                % (self.indexfile, pycompat.bytestr(revornode)))
 
     def checkinlinesize(self, tr, fp=None):
         """Check if the revlog is too big for inline and convert if so.