##// 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:

r9999:f91e5630 default
r39348:9198e41d default
Show More
manifest.tmpl
3 lines | 58 B | application/x-cheetah | CheetahLexer
{header}
{dentries%direntry}{fentries%fileentry}
{footer}