diff -r 80c690bf4953 -r f39df5545cf2 mercurial/verify.py --- a/mercurial/verify.py Tue Jun 01 09:11:01 2021 +0200 +++ b/mercurial/verify.py Tue Jun 01 09:11:07 2021 +0200 @@ -494,9 +494,8 @@ storefiles.remove(ff) except KeyError: if self.warnorphanstorefiles: - self._warn( - _(b" warning: revlog '%s' not in fncache!") % ff - ) + msg = _(b" warning: revlog '%s' not in fncache!") + self._warn(msg % ff) self.fncachewarned = True if not len(fl) and (self.havecl or self.havemf):