grep: coerce username to bytestr, not str
authorAugie Fackler <augie@google.com>
Thu, 09 Aug 2018 23:13:01 -0400
changeset 39042 9126a4034621
parent 39041 2525c4943c09
child 39043 5797b0bbdd1d
grep: coerce username to bytestr, not str Differential Revision: https://phab.mercurial-scm.org/D4238
mercurial/commands.py
--- 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: