context: fix %-formatting on Python 3
changeid could be an int or a bytestr, so use our pycompat wrapper.
Differential Revision: https://phab.mercurial-scm.org/D3585
--- a/mercurial/context.py Fri May 18 19:54:50 2018 -0400
+++ b/mercurial/context.py Fri May 18 20:11:24 2018 -0400
@@ -432,7 +432,7 @@
# lookup failed
except (error.FilteredIndexError, error.FilteredLookupError):
raise error.FilteredRepoLookupError(_("filtered revision '%s'")
- % changeid)
+ % pycompat.bytestr(changeid))
except error.FilteredRepoLookupError:
raise
except IndexError: