##// END OF EJS Templates
dirstate-v2: complain early on docket name collision...
dirstate-v2: complain early on docket name collision The alternative is that the dirstate gets deleted so the corruption persists and is hard to investigate. This happened to me in tests, where the dirstate names are taken from file, since the file got reverted. I expect this can also happen in prod with non-trivial probability (1/4 billion).

File last commit:

r50408:467d9df9 default
r50992:ca9d65d6 stable
Show More
config.rs
18 lines | 504 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;
Arseniy Alekseyev
rhg: centralize PlainInfo
r50408 mod plain_info;
Simon Sapin
rust: Move config value parsing functions to a new module...
r47344 mod values;
Arseniy Alekseyev
rhg: centralize PlainInfo
r50408 pub use config::{Config, ConfigSource, ConfigValueParseError};
Simon Sapin
rhg: Add support for colored output...
r49584 pub use layer::{ConfigError, ConfigOrigin, ConfigParseError};
Arseniy Alekseyev
rhg: centralize PlainInfo
r50408 pub use plain_info::PlainInfo;