# HG changeset patch # User Matt Mackall # Date 1412290805 18000 # Node ID 4e64d255f1a873840312c870a53d8f8ff23c08ed # Parent 06c8b58647b93a0de88d6308af564660b7a1bb1d ui: fix comment about non-interactive prompts This fixes my earlier in-flight addition to Mads' change. diff -r 06c8b58647b9 -r 4e64d255f1a8 mercurial/ui.py --- a/mercurial/ui.py Thu Oct 02 23:20:59 2014 +0900 +++ b/mercurial/ui.py Thu Oct 02 18:00:05 2014 -0500 @@ -683,7 +683,7 @@ if not r: r = default # sometimes self.interactive disagrees with isatty, - # show default response + # show response provided on stdin when simulating if not util.isatty(self.fin): self.write(r, "\n") return r