grep: coerce username to bytestr, not str
Differential Revision: https://phab.mercurial-scm.org/D4238
--- a/mercurial/commands.py Thu Aug 09 23:12:44 2018 -0400
+++ b/mercurial/commands.py Thu Aug 09 23:13:01 2018 -0400
@@ -2625,7 +2625,7 @@
if fm.isplain():
formatuser = ui.shortuser
else:
- formatuser = str
+ formatuser = pycompat.bytestr
if ui.quiet:
datefmt = '%Y-%m-%d'
else: