##// END OF EJS Templates
rhg: Return an error code for `rhg config Section.idontexist`...
rhg: Return an error code for `rhg config Section.idontexist` This is what Python-based hg does. Differential Revision: https://phab.mercurial-scm.org/D10145

File last commit:

r47344:a687a7f2 default
r47481:b1e6265e default
Show More
config.rs
16 lines | 429 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;
Simon Sapin
rust: Add a `ConfigValueParseError` variant to common errors...
r47340 pub use config::{Config, ConfigValueParseError};
Simon Sapin
rust: Parse system and user configuration...
r47212 pub use layer::{ConfigError, ConfigParseError};