diff --git a/rust/rhg/src/commands/config.rs b/rust/rhg/src/commands/config.rs --- a/rust/rhg/src/commands/config.rs +++ b/rust/rhg/src/commands/config.rs @@ -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
"))?; let value = invocation.config.get(section, name).unwrap_or(b"");