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 |