# HG changeset patch # User Pulkit Goyal # Date 1551484395 -19800 # Node ID 8e364664a9997e2e08f78f076c3bdb86f7f6863a # Parent bce2356ece685660fb08eb55032529da5d281c50 py3: pass a str to getpass.getpass() Otherwise I see `password: b''` on the prompt. # skip-blame because just prefix Differential Revision: https://phab.mercurial-scm.org/D6041 diff -r bce2356ece68 -r 8e364664a999 mercurial/ui.py --- a/mercurial/ui.py Sat Mar 02 05:12:45 2019 +0530 +++ b/mercurial/ui.py Sat Mar 02 05:23:15 2019 +0530 @@ -1553,7 +1553,7 @@ raise EOFError return l.rstrip('\n') else: - return getpass.getpass('') + return getpass.getpass(r'') except EOFError: raise error.ResponseExpected()