Patchwork D2650: py3: use bytes instead of str to make sure we use bytes internally

login
register
mail settings
Submitter phabricator
Date March 4, 2018, 5:28 p.m.
Message ID <differential-rev-PHID-DREV-vclt6h7wm62jer62e65f-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/28941/
State Superseded
Headers show

Comments

phabricator - March 4, 2018, 5:28 p.m.
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2650

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-devel

Patch

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: