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
--- 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()