--- a/mercurial/posix.py Mon May 10 00:54:08 2021 +0000
+++ b/mercurial/posix.py Wed May 12 12:41:52 2021 -0400
@@ -381,6 +381,10 @@
return getattr(osutil, 'getfstype', lambda x: None)(dirpath)
+def get_password():
+ return encoding.strtolocal(getpass.getpass(''))
+
+
def setbinary(fd):
pass