D6041: py3: pass a str to getpass.getpass()
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sat Mar 2 00:13:31 UTC 2019
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Otherwise I see `password: b''` on the prompt.
1. skip-blame because just prefix
REPOSITORY
rHG Mercurial
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