D6041: py3: pass a str to getpass.getpass()

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Fri Mar 1 21:05:30 EST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG8e364664a999: py3: pass a str to getpass.getpass() (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6041?vs=14284&id=14288

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

AFFECTED FILES
  mercurial/ui.py

CHANGE DETAILS

diff --git a/mercurial/ui.py b/mercurial/ui.py
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -1553,7 +1553,7 @@
                         raise EOFError
                     return l.rstrip('\n')
                 else:
-                    return getpass.getpass('')
+                    return getpass.getpass(r'')
         except EOFError:
             raise error.ResponseExpected()
 



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


More information about the Mercurial-devel mailing list