rhg: Config commands.status.terse is not supported
Differential Revision: https://phab.mercurial-scm.org/D11760
--- a/rust/rhg/src/commands/status.rs Tue Nov 09 18:39:37 2021 +0100
+++ b/rust/rhg/src/commands/status.rs Tue Nov 09 18:56:55 2021 +0100
@@ -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;
--- a/tests/test-status-terse.t Tue Nov 09 18:39:37 2021 +0100
+++ b/tests/test-status-terse.t Tue Nov 09 18:56:55 2021 +0100
@@ -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