changeset 46739 | c184b490da37 |
parent 46593 | 5ce2aa7c2ad5 |
child 46740 | 97ac588b6d9e |
--- a/rust/rhg/src/commands/files.rs Mon Mar 08 17:32:22 2021 +0100 +++ b/rust/rhg/src/commands/files.rs Fri Mar 05 13:28:49 2021 +0100 @@ -27,6 +27,13 @@ } pub fn run(invocation: &crate::CliInvocation) -> Result<(), CommandError> { + let relative = invocation.config.get(b"ui", b"relative-paths"); + if relative.is_some() { + return Err(CommandError::unsupported( + "non-default ui.relative-paths", + )); + } + let rev = invocation.subcommand_args.value_of("rev"); let repo = invocation.repo?;