mercurial/localrepo.py
changeset 31144 afcc4b4a0826
parent 31133 23080c03a604
child 31145 11a97785f75c
equal deleted inserted replaced
31143:628600bf55e4 31144:afcc4b4a0826
   252     # only functions defined in module of enabled extensions are invoked
   252     # only functions defined in module of enabled extensions are invoked
   253     featuresetupfuncs = set()
   253     featuresetupfuncs = set()
   254 
   254 
   255     def __init__(self, baseui, path, create=False):
   255     def __init__(self, baseui, path, create=False):
   256         self.requirements = set()
   256         self.requirements = set()
       
   257         # vfs to access the working copy
   257         self.wvfs = scmutil.vfs(path, expandpath=True, realpath=True)
   258         self.wvfs = scmutil.vfs(path, expandpath=True, realpath=True)
       
   259         # vfs to access the content of the repository
       
   260         self.vfs = None
       
   261         # vfs to access the store part of the repository
       
   262         self.svfs = None
   258         self.wopener = self.wvfs
   263         self.wopener = self.wvfs
   259         self.root = self.wvfs.base
   264         self.root = self.wvfs.base
   260         self.path = self.wvfs.join(".hg")
   265         self.path = self.wvfs.join(".hg")
   261         self.origroot = path
   266         self.origroot = path
   262         self.auditor = pathutil.pathauditor(self.root, self._checknested)
   267         self.auditor = pathutil.pathauditor(self.root, self._checknested)