rust-config: add support for default config items
Now that configitems.toml exists, we can read from it the default values for all core config items. We will add the devel-warning for use of undeclared config items in a later patch when we're done adding the missing entries for `rhg`.
parent
c51b178b
No related branches found
No related tags found
Showing
- rust/Cargo.lock 93 additions, 3 deletionsrust/Cargo.lock
- rust/hg-core/Cargo.toml 3 additions, 1 deletionrust/hg-core/Cargo.toml
- rust/hg-core/src/config/config.rs 0 additions, 1 deletionrust/hg-core/src/config/config.rs
- rust/hg-core/src/config/config_items.rs 669 additions, 0 deletionsrust/hg-core/src/config/config_items.rs
- rust/hg-core/src/config/layer.rs 6 additions, 2 deletionsrust/hg-core/src/config/layer.rs
- rust/hg-core/src/config/mod.rs 46 additions, 8 deletionsrust/hg-core/src/config/mod.rs
- rust/rhg/src/commands/status.rs 18 additions, 4 deletionsrust/rhg/src/commands/status.rs
Loading
Please register or sign in to comment