##// END OF EJS Templates
rhg: Remove `rhg.fallback-executable=hg` default configuration...
rhg: Remove `rhg.fallback-executable=hg` default configuration When `rhg.on-unsupported` is configured to `fallback` and an unsupported feature is encountered, the previous default was to look for an `hg` executable in `$PATH`. This default was fragile since it was easy to end up accidentally using an older version of Mercurial installed system-wide, when a local (perhaps patched) installation was intended. Instead, it is now an error to have `rhg.on-unsupported=fallback` without also configuring an explicit path or the fallback executable. Differential Revision: https://phab.mercurial-scm.org/D10189

File last commit:

r47344:a687a7f2 default
r47482:bde90e9b 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};