branch | stable |
changeset 23053 | 5ba11ab48fcf |
parent 22837 | 2be7d5ebd4d0 |
child 23139 | e53f6b72a0e4 |
--- a/mercurial/ui.py Sat Oct 18 18:14:48 2014 -0500 +++ b/mercurial/ui.py Tue Oct 21 23:16:46 2014 +0900 @@ -711,11 +711,7 @@ r = self._readline(self.label(msg, 'ui.prompt')) if not r: r = default - # sometimes self.interactive disagrees with isatty, - # show response provided on stdin when simulating - # but commandserver - if (not util.isatty(self.fin) - and not self.configbool('ui', 'nontty')): + if self.configbool('ui', 'promptecho'): self.write(r, "\n") return r except EOFError: