dirstate-v2: Store a hash of ignore patterns (.hgignore)
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. Differential Revision: https://phab.mercurial-scm.org/D10836
Showing
- rust/hg-core/src/dirstate/status.rs 1 addition, 1 deletionrust/hg-core/src/dirstate/status.rs
- rust/hg-core/src/dirstate_tree/dirstate_map.rs 4 additions, 0 deletionsrust/hg-core/src/dirstate_tree/dirstate_map.rs
- rust/hg-core/src/dirstate_tree/on_disk.rs 27 additions, 1 deletionrust/hg-core/src/dirstate_tree/on_disk.rs
- rust/hg-core/src/dirstate_tree/status.rs 30 additions, 10 deletionsrust/hg-core/src/dirstate_tree/status.rs
- rust/hg-core/src/filepatterns.rs 21 additions, 22 deletionsrust/hg-core/src/filepatterns.rs
- rust/hg-core/src/matchers.rs 15 additions, 3 deletionsrust/hg-core/src/matchers.rs
- tests/test-hgignore.t 20 additions, 0 deletionstests/test-hgignore.t
Loading
Please register or sign in to comment