mercurial/localrepo.py
changeset 35121 ebabc4a805c4
parent 34881 8c9b08a0c48c
child 35122 ff80efc8f3e4
equal deleted inserted replaced
35120:699b2a759319 35121:ebabc4a805c4
   364         self.root = self.wvfs.base
   364         self.root = self.wvfs.base
   365         self.path = self.wvfs.join(".hg")
   365         self.path = self.wvfs.join(".hg")
   366         self.origroot = path
   366         self.origroot = path
   367         # These auditor are not used by the vfs,
   367         # These auditor are not used by the vfs,
   368         # only used when writing this comment: basectx.match
   368         # only used when writing this comment: basectx.match
   369         self.auditor = pathutil.pathauditor(self.root, self._checknested)
   369         self.auditor = pathutil.pathauditor(
   370         self.nofsauditor = pathutil.pathauditor(self.root, self._checknested,
   370             self.root, callback=self._checknested)
   371                                                 realfs=False, cached=True)
   371         self.nofsauditor = pathutil.pathauditor(
       
   372             self.root, callback=self._checknested, realfs=False, cached=True)
   372         self.baseui = baseui
   373         self.baseui = baseui
   373         self.ui = baseui.copy()
   374         self.ui = baseui.copy()
   374         self.ui.copy = baseui.copy # prevent copying repo configuration
   375         self.ui.copy = baseui.copy # prevent copying repo configuration
   375         self.vfs = vfsmod.vfs(self.path, cacheaudited=True)
   376         self.vfs = vfsmod.vfs(self.path, cacheaudited=True)
   376         if (self.ui.configbool('devel', 'all-warnings') or
   377         if (self.ui.configbool('devel', 'all-warnings') or