changeset 36726: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 f659a407e5ee
children 470df8c5b781
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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: