code: def get_config_value(self, section, name=None, config_file=None):
          
          if config_file is None:
              config_file = []
          elif isinstance(config_file, basestring):
              config_file = [config_file]
  
          config = self._repo.ui
          for path in config_file:
              config.readconfig(path)
          return config.config(section, name)
docs: Returns configuration value for a given [``section``] and ``name``.
  
          :param section: Section we want to retrieve value from
          :param name: Name of configuration we want to retrieve
          :param config_file: A path to file which should be used to retrieve
            configuration from (might also be a list of file paths)