# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1520123039 -19800 # Node ID 7dc1a21d57cc5babd194ed89f96f00f9854fb69e # Parent f659a407e5eeed78d591fe635648bb5b610e66d3 py3: use bytes instead of str to make sure we use bytes internally Differential Revision: https://phab.mercurial-scm.org/D2650 diff -r f659a407e5ee -r 7dc1a21d57cc 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: