Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
33255:4f3f08262eb4 | 33256:4ea0b7a613f9 |
---|---|
286 # repository's .hg/store directory. | 286 # repository's .hg/store directory. |
287 self.svfs = None | 287 self.svfs = None |
288 self.root = self.wvfs.base | 288 self.root = self.wvfs.base |
289 self.path = self.wvfs.join(".hg") | 289 self.path = self.wvfs.join(".hg") |
290 self.origroot = path | 290 self.origroot = path |
291 # These auditor are not used by the vfs, | |
292 # only used when writing this comment: basectx.match | |
291 self.auditor = pathutil.pathauditor(self.root, self._checknested) | 293 self.auditor = pathutil.pathauditor(self.root, self._checknested) |
292 self.nofsauditor = pathutil.pathauditor(self.root, self._checknested, | 294 self.nofsauditor = pathutil.pathauditor(self.root, self._checknested, |
293 realfs=False) | 295 realfs=False) |
294 self.vfs = vfsmod.vfs(self.path) | 296 self.vfs = vfsmod.vfs(self.path) |
295 self.baseui = baseui | 297 self.baseui = baseui |