rhg: Align "malformed --config" error message with Python
Differences in error message formatting can cause tests to fail.
Differential Revision: https://phab.mercurial-scm.org/D10099
--- a/rust/hg-core/src/config/layer.rs Wed Mar 03 18:38:22 2021 +0100
+++ b/rust/hg-core/src/config/layer.rs Wed Mar 03 18:40:17 2021 +0100
@@ -74,7 +74,7 @@
layer.add(section, item, value, None);
} else {
Err(HgError::abort(format!(
- "malformed --config option: \"{}\" \
+ "malformed --config option: '{}' \
(use --config section.name=value)",
String::from_utf8_lossy(arg),
)))?