--- a/mercurial/ui.py Thu Nov 26 02:28:42 2020 -0500
+++ b/mercurial/ui.py Mon Nov 23 11:47:06 2020 -0500
@@ -1735,7 +1735,7 @@
raise EOFError
return l.rstrip(b'\n')
else:
- return getpass.getpass('')
+ return encoding.strtolocal(getpass.getpass(''))
except EOFError:
raise error.ResponseExpected()