view rust/hg-core/src/config.rs @ 46797:bcdcb4423ae3

rhg: Add more conversions between error types This allows using the `?` operator in more places, as the next commit does. Differential Revision: https://phab.mercurial-scm.org/D10238
author Simon Sapin <simon.sapin@octobus.net>
date Fri, 19 Mar 2021 13:18:53 +0100
parents a687a7f27951
children ebdef6283798
line wrap: on
line source

// 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;
mod values;
pub use config::{Config, ConfigValueParseError};
pub use layer::{ConfigError, ConfigParseError};