diff mercurial/localrepo.py @ 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 a5cb2e4460de
children 85d1ac011582
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)