This is an archive of the discontinued Mercurial Phabricator instance.

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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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