D4238: grep: coerce username to bytestr, not str

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Thu Aug 9 23:37:14 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG9126a4034621: grep: coerce username to bytestr, not str (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4238?vs=10258&id=10268

REVISION DETAIL
  https://phab.mercurial-scm.org/D4238

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2625,7 +2625,7 @@
         if fm.isplain():
             formatuser = ui.shortuser
         else:
-            formatuser = str
+            formatuser = pycompat.bytestr
         if ui.quiet:
             datefmt = '%Y-%m-%d'
         else:



To: durin42, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list