##// END OF EJS Templates
dirstate-v2: Drop cached read_dir results after .hgignore changes...
dirstate-v2: Drop cached read_dir results after .hgignore changes Soon we’ll want the status algorithm to be able to skip `std::fs::read_dir` in more cases, notabling when listing unknown files but not ignored files. When ignore patterns change (which we detect by their hash, added to the dirstate-v2 format in a previous changeset), a formerly-ignored file could become unknown without changing its parent directory’s modification time. Therefore we remove any directory mtime from the dirstate, effictively invalidating the existing caches. Differential Revision: https://phab.mercurial-scm.org/D10907

File last commit:

r48196:ebdef628 default
r48268:c657beac default
Show More
config.rs
16 lines | 443 B | application/rls-services+xml | RustLexer
Raphaël Gomès
hg-core: add basic config module...
r46803 // config.rs
//
// Copyright 2020
// Valentin Gatien-Baron,
// Raphaël Gomès <rgomes@octobus.net>
//
// This software may be used and distributed according to the terms of the
// GNU General Public License version 2 or any later version.
//! Mercurial config parsing and interfaces.
mod config;
mod layer;
Simon Sapin
rust: Move config value parsing functions to a new module...
r47344 mod values;
Pulkit Goyal
rhg: read [paths] for `--repository` value...
r48196 pub use config::{Config, ConfigSource, ConfigValueParseError};
Simon Sapin
rust: Parse system and user configuration...
r47212 pub use layer::{ConfigError, ConfigParseError};