# HG changeset patch # User Pierre-Yves David # Date 2017-07-02 00:19:05 # Node ID 4ea0b7a613f9f869c1a5fd23ab25c380022af837 # Parent 4f3f08262eb4844bab56c4c7fdeb64740ddd540f 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. diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -288,6 +288,8 @@ class localrepository(object): 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)