diff -r 821929d59e01 -r e8ae91b1a63d rust/rhg/src/error.rs --- a/rust/rhg/src/error.rs Sat Mar 20 02:03:57 2021 +0530 +++ b/rust/rhg/src/error.rs Tue Mar 23 19:58:49 2021 +0530 @@ -157,6 +157,9 @@ impl From<(RevlogError, &str)> for CommandError { fn from((err, rev): (RevlogError, &str)) -> CommandError { match err { + RevlogError::WDirUnsupported => CommandError::abort( + "abort: working directory revision cannot be specified", + ), RevlogError::InvalidRevision => CommandError::abort(format!( "abort: invalid revision identifier: {}", rev