[PATCH 04 of 14] auditor: add simple comment about repo.auditor and al
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Sat Jul 1 22:56:29 EDT 2017
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at octobus.net>
# Date 1498954745 -7200
# Sun Jul 02 02:19:05 2017 +0200
# Node ID 907925f744b8f7886741c4ea278166b58df82f96
# Parent 7c6b7f3e14d5b79c80057c356e447911ded68140
# EXP-Topic vfs.ward
# Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/
# hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r 907925f744b8
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
@@ -286,6 +286,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)
More information about the Mercurial-devel
mailing list