changeset 33256:4ea0b7a613f9

auditor: add simple comment about repo.auditor and al Every once in a while, I get confused by what these are. Let us add a comment.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 02 Jul 2017 02:19:05 +0200
parents 4f3f08262eb4
children 15e9cbe6ae49
files mercurial/localrepo.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sun Jul 02 01:41:37 2017 +0200
+++ b/mercurial/localrepo.py	Sun Jul 02 02:19:05 2017 +0200
@@ -288,6 +288,8 @@
         self.root = self.wvfs.base
         self.path = self.wvfs.join(".hg")
         self.origroot = path
+        # These auditor are not used by the vfs,
+        # only used when writing this comment: basectx.match
         self.auditor = pathutil.pathauditor(self.root, self._checknested)
         self.nofsauditor = pathutil.pathauditor(self.root, self._checknested,
                                                 realfs=False)