changeset 1473 | 7d66ce9895fa |
parent 1469 | 0847c45ffee6 |
child 1477 | d3566eda2bcb |
--- a/mercurial/localrepo.py Thu Oct 27 13:31:12 2005 -0700 +++ b/mercurial/localrepo.py Thu Oct 27 13:40:56 2005 -0700 @@ -43,7 +43,7 @@ self.dirstate = dirstate.dirstate(self.opener, ui, self.root) try: - self.ui.readconfig(self.opener("hgrc")) + self.ui.readconfig(os.path.join(self.path, "hgrc")) except IOError: pass def hook(self, name, **args):