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, 6:01 p.m.
Message ID <c5e2bd9360c626a32170b68b273e98dd@localhost.localdomain>
Download mbox | patch
Permalink /patch/28947/
State Not Applicable
Headers show

Comments

phabricator - March 4, 2018, 6:01 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG7dc1a21d57cc: py3: use bytes instead of str to make sure we use bytes internally (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2650?vs=6564&id=6569

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: