Page MenuHomePhabricator

dirstate-v2: Store a hash of ignore patterns (.hgignore)
ClosedPublic

Authored by SimonSapin on Jun 7 2021, 7:23 AM.

Details

Summary

Later, this help extend read_dir caching to directories that contain ignored
files (but no unknown files). Such cache must be invalidated when ignore patterns
change since a formerly-ignored file might become unknown.

This helps the default configuration of hg status where unknown files must
be listed, but ignored files are not.

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

SimonSapin created this revision.Jun 7 2021, 7:23 AM
Alphare accepted this revision.Jun 15 2021, 6:22 AM
This revision is now accepted and ready to land.Jun 15 2021, 6:22 AM