auditor: add simple comment about repo.auditor and al
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sun, 02 Jul 2017 02:19:05 +0200
changeset 33256 4ea0b7a613f9
parent 33255 4f3f08262eb4
child 33257 15e9cbe6ae49
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.
mercurial/localrepo.py
--- 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)