diff -r c1ae0b2c1719 -r 5ba11ab48fcf mercurial/ui.py --- 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: