D10099: rhg: Align "malformed --config" error message with Python
SimonSapin
phabricator at mercurial-scm.org
Wed Mar 3 18:24:50 UTC 2021
SimonSapin created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D10099
AFFECTED FILES
rust/hg-core/src/config/layer.rs
CHANGE DETAILS
diff --git a/rust/hg-core/src/config/layer.rs b/rust/hg-core/src/config/layer.rs
--- a/rust/hg-core/src/config/layer.rs
+++ b/rust/hg-core/src/config/layer.rs
@@ -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),
)))?
To: SimonSapin, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list