mercurial/ui.py
branchstable
changeset 13493 95b0d4c1c9e1
parent 13238 1b591f9b7fd2
child 13576 edd06611a7c6
--- a/mercurial/ui.py	Thu Feb 24 13:57:52 2011 -0300
+++ b/mercurial/ui.py	Fri Feb 25 23:26:24 2011 -0600
@@ -122,8 +122,8 @@
             self.quiet = not self.debugflag and self.configbool('ui', 'quiet')
             if self.verbose and self.quiet:
                 self.quiet = self.verbose = False
-            self._reportuntrusted = self.configbool("ui", "report_untrusted",
-                                        True)
+            self._reportuntrusted = self.debugflag or self.configbool("ui",
+                "report_untrusted", True)
             self.tracebackflag = self.configbool('ui', 'traceback', False)
 
         if section in (None, 'trusted'):