If a matcher doesn't implement visitdir, we should be returning True so that
tree traversals are not prematurely pruned. The old value of False would prevent
tree traversals when using any matcher that didn't implement visitdir.
Details
Details
- Reviewers
martinvonz - Group Reviewers
hg-reviewers - Commits
- rHGcf15c3cc304c: match: make base matcher return True for visitdir
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
Thanks. I had been thinking of making this change. I agree it's better to be slow but correct by default.