diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -3782,7 +3782,7 @@ if fm.isplain(): hidepassword = util.hidepassword else: - hidepassword = str + hidepassword = bytes if ui.quiet: namefmt = '%s\n' else: