Mercurial > hg
diff 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 |
line wrap: on
line diff
--- a/rust/hg-core/src/config/config.rs Mon Mar 08 08:35:43 2021 +0100 +++ b/rust/hg-core/src/config/config.rs Mon Mar 08 08:55:48 2021 +0100 @@ -24,6 +24,7 @@ /// Holds the config values for the current repository /// TODO update this docstring once we support more sources +#[derive(Clone)] pub struct Config { layers: Vec<layer::ConfigLayer>, }