equal
deleted
inserted
replaced
162 self.debug("ignoring untrusted configuration option " |
162 self.debug("ignoring untrusted configuration option " |
163 "%s.%s = %s\n" % (section, name, uvalue)) |
163 "%s.%s = %s\n" % (section, name, uvalue)) |
164 return value |
164 return value |
165 |
165 |
166 def configpath(self, section, name, default=None, untrusted=False): |
166 def configpath(self, section, name, default=None, untrusted=False): |
167 'get a path config item, expanded relative to config file' |
167 'get a path config item, expanded relative to repo root or config file' |
168 v = self.config(section, name, default, untrusted) |
168 v = self.config(section, name, default, untrusted) |
169 if v is None: |
169 if v is None: |
170 return None |
170 return None |
171 if not os.path.isabs(v) or "://" not in v: |
171 if not os.path.isabs(v) or "://" not in v: |
172 src = self.configsource(section, name, untrusted) |
172 src = self.configsource(section, name, untrusted) |