repofilter: avoid passing bytes to `hglib.formatrevspec()` (fixes #5659)
Otherwise the author parameter is autocompleted to `'b\'${author}\''`. The other use in this module calls `pycompat.unicode()`, but the value was already `str`. --HG-- branch : stable