changeset 47244 | bcafcd779d2e |
parent 47200 | b0e92313107e |
parent 47038 | 5b3513177f2b |
child 47283 | a671832a8e41 |
--- a/mercurial/ui.py Mon May 03 12:34:01 2021 +0200 +++ b/mercurial/ui.py Mon May 17 15:05:24 2021 +0200 @@ -11,7 +11,6 @@ import contextlib import datetime import errno -import getpass import inspect import os import re @@ -1781,7 +1780,7 @@ raise EOFError return l.rstrip(b'\n') else: - return encoding.strtolocal(getpass.getpass('')) + return util.get_password() except EOFError: raise error.ResponseExpected()