localrepo: add a second auditor without file system check
Auditors keeps a cache of audited paths. Therefore we cannot use the same
auditor for working copy and history operation. We create a new one without
file system check for this purposes.
--- a/mercurial/localrepo.py Thu Dec 03 10:40:19 2015 -0800
+++ b/mercurial/localrepo.py Thu Dec 03 13:22:36 2015 -0800
@@ -214,6 +214,8 @@
self.path = self.wvfs.join(".hg")
self.origroot = path
self.auditor = pathutil.pathauditor(self.root, self._checknested)
+ self.nofsauditor = pathutil.pathauditor(self.root, self._checknested,
+ realfs=False)
self.vfs = scmutil.vfs(self.path)
self.opener = self.vfs
self.baseui = baseui