mercurial/ui.py
changeset 32967 cd2fd1765654
parent 32966 61a8321c9962
child 32984 6d983e8af49c
equal deleted inserted replaced
32966:61a8321c9962 32967:cd2fd1765654
   458                 if uvalue is not None and uvalue != value:
   458                 if uvalue is not None and uvalue != value:
   459                     self.debug("ignoring untrusted configuration option "
   459                     self.debug("ignoring untrusted configuration option "
   460                                "%s.%s = %s\n" % (section, n, uvalue))
   460                                "%s.%s = %s\n" % (section, n, uvalue))
   461         return value
   461         return value
   462 
   462 
   463     def configsuboptions(self, section, name, default=None, untrusted=False):
   463     def configsuboptions(self, section, name, default=_unset, untrusted=False):
   464         """Get a config option and all sub-options.
   464         """Get a config option and all sub-options.
   465 
   465 
   466         Some config options have sub-options that are declared with the
   466         Some config options have sub-options that are declared with the
   467         format "key:opt = value". This method is used to return the main
   467         format "key:opt = value". This method is used to return the main
   468         option and all its declared sub-options.
   468         option and all its declared sub-options.