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,18 @@ )); } + // TODO: lift these limitations + if invocation.config.get_bool(b"ui", b"tweakdefaults").ok() == Some(true) { + return Err(CommandError::unsupported( + "ui.tweakdefaults is not yet supported with rhg status", + )); + } + if invocation.config.get_bool(b"ui", b"statuscopies").ok() == Some(true) { + return Err(CommandError::unsupported( + "ui.statuscopies is not yet supported with rhg status", + )); + } + let ui = invocation.ui; let args = invocation.subcommand_args; let display_states = if args.is_present("all") {