Mercurial > hg-stable
changeset 19880:ba2be32d14f2 stable
ui: send password prompts to stderr again (issue4056)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 09 Oct 2013 11:27:59 -0700 |
parents | 5cbf413ce658 |
children | 55c763926a28 |
files | mercurial/ui.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/ui.py Mon Oct 07 15:21:17 2013 -0700 +++ b/mercurial/ui.py Wed Oct 09 11:27:59 2013 -0700 @@ -664,7 +664,7 @@ if not self.interactive(): return default try: - self.write(self.label(prompt or _('password: '), 'ui.prompt')) + self.write_err(self.label(prompt or _('password: '), 'ui.prompt')) return getpass.getpass('') except EOFError: raise util.Abort(_('response expected'))