config: backout
77f1f206e135 -
743daa601445 removed the only use of overlay
--- a/mercurial/ui.py Thu Mar 20 00:10:45 2014 +0900
+++ b/mercurial/ui.py Wed Mar 19 01:59:15 2014 +0100
@@ -157,11 +157,9 @@
self._tcfg.restore(data[1])
self._ucfg.restore(data[2])
- def setconfig(self, section, name, value, overlay=True):
- if overlay:
- self._ocfg.set(section, name, value)
- self._tcfg.set(section, name, value)
- self._ucfg.set(section, name, value)
+ def setconfig(self, section, name, value):
+ for cfg in (self._ocfg, self._tcfg, self._ucfg):
+ cfg.set(section, name, value)
self.fixconfig(section=section)
def _data(self, untrusted):