Mercurial > hg
comparison mercurial/localrepo.py @ 13972:d1f4e7fd970a
move path_auditor from util to scmutil
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Wed, 20 Apr 2011 22:43:31 +0200 |
parents | d13913355390 |
children | 97ed99d1f419 |
comparison
equal
deleted
inserted
replaced
13971:bfeaa88b875d | 13972:d1f4e7fd970a |
---|---|
29 def __init__(self, baseui, path=None, create=0): | 29 def __init__(self, baseui, path=None, create=0): |
30 repo.repository.__init__(self) | 30 repo.repository.__init__(self) |
31 self.root = os.path.realpath(util.expandpath(path)) | 31 self.root = os.path.realpath(util.expandpath(path)) |
32 self.path = os.path.join(self.root, ".hg") | 32 self.path = os.path.join(self.root, ".hg") |
33 self.origroot = path | 33 self.origroot = path |
34 self.auditor = util.path_auditor(self.root, self._checknested) | 34 self.auditor = scmutil.path_auditor(self.root, self._checknested) |
35 self.opener = scmutil.opener(self.path) | 35 self.opener = scmutil.opener(self.path) |
36 self.wopener = scmutil.opener(self.root) | 36 self.wopener = scmutil.opener(self.root) |
37 self.baseui = baseui | 37 self.baseui = baseui |
38 self.ui = baseui.copy() | 38 self.ui = baseui.copy() |
39 | 39 |