changeset 46726 | 92e3cfd63096 |
parent 46665 | 7284b524b441 |
child 46747 | b1e6265e8336 |
--- a/rust/rhg/src/commands/config.rs Tue Mar 02 23:18:23 2021 +0100 +++ b/rust/rhg/src/commands/config.rs Wed Mar 03 18:38:22 2021 +0100 @@ -27,7 +27,7 @@ .expect("missing required CLI argument") .as_bytes() .split_2(b'.') - .ok_or_else(|| HgError::abort(""))?; + .ok_or_else(|| HgError::unsupported("hg config <section>"))?; let value = invocation.config.get(section, name).unwrap_or(b"");