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: