mercurial/ui.py
changeset 4717 97369f6a6bb6
parent 4635 63b9d2deed48
child 4729 9881abfc0e44
equal deleted inserted replaced
4716:36d23de02da1 4717:97369f6a6bb6
   197                     pathsitems = items
   197                     pathsitems = items
   198                 for n, path in pathsitems:
   198                 for n, path in pathsitems:
   199                     if path and "://" not in path and not os.path.isabs(path):
   199                     if path and "://" not in path and not os.path.isabs(path):
   200                         cdata.set("paths", n, os.path.join(root, path))
   200                         cdata.set("paths", n, os.path.join(root, path))
   201 
   201 
   202         # update quiet/verbose/debug and interactive status
   202         # update verbosity/interactive/report_untrusted settings
   203         if section is None or section == 'ui':
   203         if section is None or section == 'ui':
   204             if name is None or name in ('quiet', 'verbose', 'debug'):
   204             if name is None or name in ('quiet', 'verbose', 'debug'):
   205                 self.verbosity_constraints()
   205                 self.verbosity_constraints()
   206 
       
   207             if name is None or name == 'interactive':
   206             if name is None or name == 'interactive':
   208                 self.interactive = self.configbool("ui", "interactive", True)
   207                 self.interactive = self.configbool("ui", "interactive", True)
       
   208             if name is None or name == 'report_untrusted':
       
   209                 self.report_untrusted = (
       
   210                     self.configbool("ui", "report_untrusted", True))
   209 
   211 
   210         # update trust information
   212         # update trust information
   211         if (section is None or section == 'trusted') and self.trusted_users:
   213         if (section is None or section == 'trusted') and self.trusted_users:
   212             for user in self.configlist('trusted', 'users'):
   214             for user in self.configlist('trusted', 'users'):
   213                 self.trusted_users[user] = 1
   215                 self.trusted_users[user] = 1