Mercurial > public > mercurial-scm > hg-stable
diff mercurial/ui.py @ 33073:c41cbe98822c
configitems: register 'ui.interactive'
That item default value is a bit special (None) so this adds a second proof
that everything is still working fine.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 23 Jun 2017 17:19:29 +0200 |
parents | e70cbae4c4e6 |
children | d9962854a4a2 |
line wrap: on
line diff
--- a/mercurial/ui.py Sun Jun 25 14:41:12 2017 +0200 +++ b/mercurial/ui.py Fri Jun 23 17:19:29 2017 +0200 @@ -1139,7 +1139,7 @@ This function refers to input only; for output, see `ui.formatted()'. ''' - i = self.configbool("ui", "interactive", None) + i = self.configbool("ui", "interactive") if i is None: # some environments replace stdin without implementing isatty # usually those are non-interactive