The premise of the directory cache is that the dirstate contains child nodes
for every entry that read_dir would return. When removing nodes, that may
not be the case anymore so the cache should be invalidated.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG9d58e54b5966: dirstate-v2: Drop parent directory cache when removing a dirstate node
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.