# HG changeset patch # User Matt Mackall # Date 2014-10-02 23:00:05 # Node ID 4e64d255f1a873840312c870a53d8f8ff23c08ed # Parent 06c8b58647b93a0de88d6308af564660b7a1bb1d ui: fix comment about non-interactive prompts This fixes my earlier in-flight addition to Mads' change. diff --git a/mercurial/ui.py b/mercurial/ui.py --- a/mercurial/ui.py +++ b/mercurial/ui.py @@ -683,7 +683,7 @@ class ui(object): 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