changeset 337 | c3d873ef4b31 |
parent 285 | 5a1e6d27f399 |
child 349 | b2293093b89e |
child 350 | b4e0e20646bb |
--- a/mercurial/ui.py Tue Jun 14 17:30:56 2005 -0800 +++ b/mercurial/ui.py Tue Jun 14 18:36:09 2005 -0800 @@ -23,6 +23,9 @@ self.debugflag = (self.debugflag or debug) self.interactive = (self.interactive and interactive) + def readconfig(self, fp): + self.cdata.readfp(fp) + def config(self, section, val, default=None): if self.cdata.has_option(section, val): return self.cdata.get(section, val)