##// END OF EJS Templates
localrepo: do not cache auditor/nofsauditor which would make reference cycle...
localrepo: do not cache auditor/nofsauditor which would make reference cycle Before, self.auditor and self.nofsauditor held self through self._checknested, and the following code couldn't free a repo by ref-counting. def main(): repo = localrepo.localrepository(uimod.ui(), '../testrepos/hello') main() With this change, the cache of the nofsauditor is limited to a single match session. I think that's okay as the nofsauditor doesn't do any filesystem access. Alternatively, maybe we can remove the callback from nofsauditor since it isn't used unless realfs=True, but I have no idea whether it is a bug or not.

File last commit:

r19767:d4501068 default
r39348:9198e41d default
Show More
search.tmpl
7 lines | 111 B | application/x-cheetah | CheetahLexer
{header}
# HG changesets search
# Node ID {node}
# Query "{query}"
# Mode {modedesc}
{entries%changelogentry}