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

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sun Mar 4 13:01:25 EST 2018


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

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:



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


More information about the Mercurial-devel mailing list