mercurial/localrepo.py
changeset 35122 ff80efc8f3e4
parent 35121 ebabc4a805c4
child 35163 ee64e677c3cf
equal deleted inserted replaced
35121:ebabc4a805c4 35122:ff80efc8f3e4
   362         # repository's .hg/store directory.
   362         # repository's .hg/store directory.
   363         self.svfs = None
   363         self.svfs = None
   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         # This is only used by context.workingctx.match in order to
   368         # only used when writing this comment: basectx.match
   368         # detect files in subrepos.
   369         self.auditor = pathutil.pathauditor(
   369         self.auditor = pathutil.pathauditor(
   370             self.root, callback=self._checknested)
   370             self.root, callback=self._checknested)
       
   371         # This is only used by context.basectx.match in order to detect
       
   372         # files in subrepos.
   371         self.nofsauditor = pathutil.pathauditor(
   373         self.nofsauditor = pathutil.pathauditor(
   372             self.root, callback=self._checknested, realfs=False, cached=True)
   374             self.root, callback=self._checknested, realfs=False, cached=True)
   373         self.baseui = baseui
   375         self.baseui = baseui
   374         self.ui = baseui.copy()
   376         self.ui = baseui.copy()
   375         self.ui.copy = baseui.copy # prevent copying repo configuration
   377         self.ui.copy = baseui.copy # prevent copying repo configuration