rust/rhg/src/error.rs
changeset 46744 b1f2c2b336ec
parent 46735 12d59eec7f1d
child 46797 bcdcb4423ae3
--- a/rust/rhg/src/error.rs	Mon Mar 08 19:07:29 2021 +0100
+++ b/rust/rhg/src/error.rs	Wed Mar 03 16:40:03 2021 +0100
@@ -15,6 +15,9 @@
     /// Exit with an error message and "standard" failure exit code.
     Abort { message: Vec<u8> },
 
+    /// Exit with a failure exit code but no message.
+    Unsuccessful,
+
     /// Encountered something (such as a CLI argument, repository layout, …)
     /// not supported by this version of `rhg`. Depending on configuration
     /// `rhg` may attempt to silently fall back to Python-based `hg`, which