diff mercurial/commands.py @ 36703:7dc1a21d57cc

py3: use bytes instead of str to make sure we use bytes internally Differential Revision: https://phab.mercurial-scm.org/D2650
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 04 Mar 2018 05:53:59 +0530
parents c6061cadb400
children 390d16ea7c76
line wrap: on
line diff
--- a/mercurial/commands.py	Sun Mar 04 22:37:41 2018 +0530
+++ b/mercurial/commands.py	Sun Mar 04 05:53:59 2018 +0530
@@ -3782,7 +3782,7 @@
     if fm.isplain():
         hidepassword = util.hidepassword
     else:
-        hidepassword = str
+        hidepassword = bytes
     if ui.quiet:
         namefmt = '%s\n'
     else: