mercurial/ui.py
changeset 40640 6f0941f4a184
parent 40639 83e571ea06a9
child 40641 234c2d8c9e48
--- a/mercurial/ui.py	Sun Nov 04 12:17:20 2018 +0900
+++ b/mercurial/ui.py	Sun Nov 04 12:38:49 2018 +0900
@@ -1464,7 +1464,7 @@
             return default
         try:
             self._writemsg(self._fmsgerr, prompt or _('password: '),
-                           type='prompt')
+                           type='prompt', password=True)
             # disable getpass() only if explicitly specified. it's still valid
             # to interact with tty even if fin is not a tty.
             with self.timeblockedsection('stdio'):