Mercurial > hg > pyhgsh
comparison mercurial/localrepo.py @ 1893:6569651a4f1e
Read paths specified in .hg/hgrc relative to repo root, otherwise to home dir.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 12 Mar 2006 20:13:58 +0100 |
parents | c4d577262d00 |
children | d7c038e805e9 6d50d6189269 |
comparison
equal
deleted
inserted
replaced
1892:622ee75cb4c9 | 1893:6569651a4f1e |
---|---|
45 os.mkdir(self.path) | 45 os.mkdir(self.path) |
46 os.mkdir(self.join("data")) | 46 os.mkdir(self.join("data")) |
47 | 47 |
48 self.dirstate = dirstate.dirstate(self.opener, self.ui, self.root) | 48 self.dirstate = dirstate.dirstate(self.opener, self.ui, self.root) |
49 try: | 49 try: |
50 self.ui.readconfig(self.join("hgrc")) | 50 self.ui.readconfig(self.join("hgrc"), self.root) |
51 except IOError: | 51 except IOError: |
52 pass | 52 pass |
53 | 53 |
54 def hook(self, name, throw=False, **args): | 54 def hook(self, name, throw=False, **args): |
55 def runhook(name, cmd): | 55 def runhook(name, cmd): |