Mercurial > public > mercurial-scm > hg
diff mercurial/ui.py @ 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 | c58b6ab4c26f |
children | e828975722c8 |
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'))