# HG changeset patch # User Pierre-Yves David # Date 1497696697 -7200 # Node ID cd2fd1765654dd0a23dfe65777438998b5cd54a3 # Parent 61a8321c996266f23d83fb8531441e36e0129094 config: use the new '_unset' value for 'configsuboptions' This should let configsuboptions delegate all special processing of the default config value to the main 'config' method. diff --git a/mercurial/ui.py b/mercurial/ui.py --- a/mercurial/ui.py +++ b/mercurial/ui.py @@ -460,7 +460,7 @@ "%s.%s = %s\n" % (section, n, uvalue)) return value - def configsuboptions(self, section, name, default=None, untrusted=False): + def configsuboptions(self, section, name, default=_unset, untrusted=False): """Get a config option and all sub-options. Some config options have sub-options that are declared with the