Mercurial > public > mercurial-scm > hg-stable
diff mercurial/config.py @ 8298:9542f4c3fa1b
config: make remap actually work
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 04 May 2009 14:21:43 -0500 |
parents | 52c5be55af82 |
children | b87a50b7125c |
line wrap: on
line diff
--- a/mercurial/config.py Mon May 04 22:14:52 2009 +0200 +++ b/mercurial/config.py Mon May 04 14:21:43 2009 -0500 @@ -105,6 +105,8 @@ m = sectionre.match(l) if m: section = m.group(1) + if remap: + section = remap.get(section, section) if section not in self: self._data[section] = sortdict() continue