changeset 39079:9126a4034621

grep: coerce username to bytestr, not str Differential Revision: https://phab.mercurial-scm.org/D4238
author Augie Fackler <augie@google.com>
date Thu, 09 Aug 2018 23:13:01 -0400
parents 2525c4943c09
children 5797b0bbdd1d
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: