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 @@ -141,6 +141,30 @@ )); } + // TODO: lift this limitation + match invocation.config.get_bool(b"ui", b"tweakdefaults") { + Ok(val) => { + if val { + return Err(CommandError::unsupported( + "ui.tweakdefaults is not yet supported with rhg status", + )); + } + } + Err(_) => {} + }; + + // TODO: lift this limitation + match invocation.config.get_bool(b"ui", b"statuscopies") { + Ok(val) => { + if val { + return Err(CommandError::unsupported( + "ui.statuscopies is not yet supported with rhg status", + )); + } + } + Err(_) => {} + }; + let ui = invocation.ui; let args = invocation.subcommand_args; let display_states = if args.is_present("all") {