Mercurial > public > mercurial-scm > hg
comparison mercurial/localrepo.py @ 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 | ee64e677c3cf |
comparison
equal
deleted
inserted
replaced
35121:ebabc4a805c4 | 35122:ff80efc8f3e4 |
---|---|
362 # repository's .hg/store directory. | 362 # repository's .hg/store directory. |
363 self.svfs = None | 363 self.svfs = None |
364 self.root = self.wvfs.base | 364 self.root = self.wvfs.base |
365 self.path = self.wvfs.join(".hg") | 365 self.path = self.wvfs.join(".hg") |
366 self.origroot = path | 366 self.origroot = path |
367 # These auditor are not used by the vfs, | 367 # This is only used by context.workingctx.match in order to |
368 # only used when writing this comment: basectx.match | 368 # detect files in subrepos. |
369 self.auditor = pathutil.pathauditor( | 369 self.auditor = pathutil.pathauditor( |
370 self.root, callback=self._checknested) | 370 self.root, callback=self._checknested) |
371 # This is only used by context.basectx.match in order to detect | |
372 # files in subrepos. | |
371 self.nofsauditor = pathutil.pathauditor( | 373 self.nofsauditor = pathutil.pathauditor( |
372 self.root, callback=self._checknested, realfs=False, cached=True) | 374 self.root, callback=self._checknested, realfs=False, cached=True) |
373 self.baseui = baseui | 375 self.baseui = baseui |
374 self.ui = baseui.copy() | 376 self.ui = baseui.copy() |
375 self.ui.copy = baseui.copy # prevent copying repo configuration | 377 self.ui.copy = baseui.copy # prevent copying repo configuration |