mercurial/config.py
changeset 8298 9542f4c3fa1b
parent 8265 52c5be55af82
child 8312 b87a50b7125c
--- 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