Mercurial > public > mercurial-scm > hg-stable
diff mercurial/ui.py @ 4717:97369f6a6bb6
New config option: ui.report_untrusted (defaults to True)
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Mon, 25 Jun 2007 22:41:15 +0200 |
parents | 63b9d2deed48 |
children | 9881abfc0e44 |
line wrap: on
line diff
--- a/mercurial/ui.py Mon Jun 25 22:08:10 2007 +0200 +++ b/mercurial/ui.py Mon Jun 25 22:41:15 2007 +0200 @@ -199,13 +199,15 @@ if path and "://" not in path and not os.path.isabs(path): cdata.set("paths", n, os.path.join(root, path)) - # update quiet/verbose/debug and interactive status + # update verbosity/interactive/report_untrusted settings if section is None or section == 'ui': if name is None or name in ('quiet', 'verbose', 'debug'): self.verbosity_constraints() - if name is None or name == 'interactive': self.interactive = self.configbool("ui", "interactive", True) + if name is None or name == 'report_untrusted': + self.report_untrusted = ( + self.configbool("ui", "report_untrusted", True)) # update trust information if (section is None or section == 'trusted') and self.trusted_users: