rust/rhg/src/commands/files.rs
changeset 46032 8d6164098782
parent 45996 904647f7d983
child 46134 cc6faec62cb7
--- a/rust/rhg/src/commands/files.rs	Thu Dec 03 13:23:59 2020 -0800
+++ b/rust/rhg/src/commands/files.rs	Mon Nov 30 19:34:49 2020 +0100
@@ -91,6 +91,15 @@
                     .into(),
                 ))
             }
+            ListRevTrackedFilesErrorKind::AmbiguousPrefix => {
+                CommandErrorKind::Abort(Some(
+                    utf8_to_local(&format!(
+                        "abort: ambiguous revision identifier {}\n",
+                        rev
+                    ))
+                    .into(),
+                ))
+            }
             ListRevTrackedFilesErrorKind::UnsuportedRevlogVersion(version) => {
                 CommandErrorKind::Abort(Some(
                     utf8_to_local(&format!(