diff -r 95d37db31479 -r d8730ff51d5a rust/rhg/src/error.rs --- a/rust/rhg/src/error.rs Mon Feb 08 21:28:52 2021 +0100 +++ b/rust/rhg/src/error.rs Mon Feb 08 21:37:30 2021 +0100 @@ -54,10 +54,10 @@ impl From for CommandError { fn from(error: RepoError) -> Self { match error { - RepoError::NotFound { current_directory } => CommandError::Abort { + RepoError::NotFound { at } => CommandError::Abort { message: format_bytes!( b"no repository found in '{}' (.hg not found)!", - get_bytes_from_path(current_directory) + get_bytes_from_path(at) ), }, RepoError::ConfigParseError(error) => error.into(),