# HG changeset patch # User Pierre-Yves David # Date 1449177756 28800 # Node ID dfb836a31b61db052bbb0edbc74809bf97e10074 # Parent 79a86a95f3259b29df3ad36d64102aea42d79191 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. diff -r 79a86a95f325 -r dfb836a31b61 mercurial/localrepo.py --- 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