Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 20033:f962870712da
pathutil: tease out a new library to break an import cycle from canonpath use
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Wed, 06 Nov 2013 18:19:04 -0500 |
parents | 4b06b2a445a1 |
children | b04cc8651a63 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Wed Nov 06 14:38:34 2013 -0500 +++ b/mercurial/localrepo.py Wed Nov 06 18:19:04 2013 -0500 @@ -15,7 +15,7 @@ import tags as tagsmod from lock import release import weakref, errno, os, time, inspect -import branchmap +import branchmap, pathutil propertycache = util.propertycache filecache = scmutil.filecache @@ -166,7 +166,7 @@ self.root = self.wvfs.base self.path = self.wvfs.join(".hg") self.origroot = path - self.auditor = scmutil.pathauditor(self.root, self._checknested) + self.auditor = pathutil.pathauditor(self.root, self._checknested) self.vfs = scmutil.vfs(self.path) self.opener = self.vfs self.baseui = baseui