This was only used by the sparse extension's dirstate._ignore
override, which no longer exists.
Details
Details
- Reviewers
durham durin42 - Group Reviewers
hg-reviewers - Commits
- rHG80e1331a7fe9: match: remove unused negatematcher
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
As I mentioned in IRC, this is actually important for scalability, since I think 'visitdir' has to return True for any negatematcher, since it can't know what is or isn't relevant to the underlying matcher.
Comment Actions
It could actually return False if the underlying matcher returns 'all'.
I now realize that that value is poorly documented. What 'all' actually means is not just that all subdirectories should be visited, but also that all files in them match. See use in treemanifest._match(). I should fix the docstring...