Mercurial > hg
comparison rust/hg-core/src/config/config.rs @ 46741:25e3dac511f0
rhg: Add support for the HGRCSKIPREPO environment variable
It’s easy enough and affects tests, well, that test that feature.
Differential Revision: https://phab.mercurial-scm.org/D10139
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Mon, 08 Mar 2021 08:55:48 +0100 |
parents | 1a036d33bc18 |
children | bcdcb4423ae3 |
comparison
equal
deleted
inserted
replaced
46740:97ac588b6d9e | 46741:25e3dac511f0 |
---|---|
22 | 22 |
23 use crate::errors::{HgResultExt, IoResultExt}; | 23 use crate::errors::{HgResultExt, IoResultExt}; |
24 | 24 |
25 /// Holds the config values for the current repository | 25 /// Holds the config values for the current repository |
26 /// TODO update this docstring once we support more sources | 26 /// TODO update this docstring once we support more sources |
27 #[derive(Clone)] | |
27 pub struct Config { | 28 pub struct Config { |
28 layers: Vec<layer::ConfigLayer>, | 29 layers: Vec<layer::ConfigLayer>, |
29 } | 30 } |
30 | 31 |
31 impl DisplayBytes for Config { | 32 impl DisplayBytes for Config { |