D11760: rhg: Config commands.status.terse is not supported
SimonSapin
phabricator at mercurial-scm.org
Mon Nov 15 17:42:46 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/D11760
AFFECTED FILES
rust/rhg/src/commands/status.rs
tests/test-status-terse.t
CHANGE DETAILS
diff --git a/tests/test-status-terse.t b/tests/test-status-terse.t
--- a/tests/test-status-terse.t
+++ b/tests/test-status-terse.t
@@ -1,7 +1,3 @@
-TODO: fix rhg bugs that make this test fail when status is enabled
- $ unset RHG_STATUS
-
-
$ mkdir folder
$ cd folder
$ hg init
diff --git a/rust/rhg/src/commands/status.rs b/rust/rhg/src/commands/status.rs
--- a/rust/rhg/src/commands/status.rs
+++ b/rust/rhg/src/commands/status.rs
@@ -148,6 +148,15 @@
"ui.statuscopies is not yet supported with rhg status",
));
}
+ if invocation
+ .config
+ .get(b"commands", b"status.terse")
+ .is_some()
+ {
+ return Err(CommandError::unsupported(
+ "status.terse is not yet supported with rhg status",
+ ));
+ }
let ui = invocation.ui;
let config = invocation.config;
To: SimonSapin, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list