diff -r 6f62a1c3e11d -r 35fb3367f72d mercurial/verify.py --- a/mercurial/verify.py Fri Dec 29 05:28:05 2017 +0530 +++ b/mercurial/verify.py Fri Dec 29 05:29:04 2017 +0530 @@ -17,6 +17,7 @@ from . import ( error, + pycompat, revlog, scmutil, util, @@ -105,7 +106,8 @@ if self.lrugetctx(l)[f].filenode() == node] except Exception: pass - self.warn(_(" (expected %s)") % " ".join(map(str, linkrevs))) + self.warn(_(" (expected %s)") % " ".join + (map(pycompat.bytestr, linkrevs))) lr = None # can't be trusted try: