py3: use bytes instead of str to make sure we use bytes internally
authorPulkit Goyal <7895pulkit@gmail.com>
Sun, 04 Mar 2018 05:53:59 +0530
changeset 36703 7dc1a21d57cc
parent 36702 f659a407e5ee
child 36704 470df8c5b781
py3: use bytes instead of str to make sure we use bytes internally Differential Revision: https://phab.mercurial-scm.org/D2650
mercurial/commands.py
--- 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: