Mercurial > public > mercurial-scm > hg-stable
diff mercurial/ui.py @ 47244:bcafcd779d2e
branching: merge stable into default
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Mon, 17 May 2021 15:05:24 +0200 |
parents | b0e92313107e 5b3513177f2b |
children | a671832a8e41 |
line wrap: on
line diff
--- 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()