changeset 35122:ff80efc8f3e4

localrepo: update comments around path auditors
author Augie Fackler <augie@google.com>
date Fri, 03 Nov 2017 17:19:56 -0400
parents ebabc4a805c4
children 7a58608281dd
files mercurial/localrepo.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Fri Nov 03 17:07:29 2017 -0400
+++ b/mercurial/localrepo.py	Fri Nov 03 17:19:56 2017 -0400
@@ -364,10 +364,12 @@
         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
+        # This is only used by context.workingctx.match in order to
+        # detect files in subrepos.
         self.auditor = pathutil.pathauditor(
             self.root, callback=self._checknested)
+        # This is only used by context.basectx.match in order to detect
+        # files in subrepos.
         self.nofsauditor = pathutil.pathauditor(
             self.root, callback=self._checknested, realfs=False, cached=True)
         self.baseui = baseui