rhg: fix user-facing error message so it matches Python implementation
authorRaphaël Gomès <rgomes@octobus.net>
Thu, 12 Jan 2023 10:28:56 +0100
changeset 49982 7faedeb24eb2
parent 49981 364e78389653
child 49983 795b5b01cbd2
rhg: fix user-facing error message so it matches Python implementation
rust/hg-core/src/narrow.rs
--- a/rust/hg-core/src/narrow.rs	Wed Jan 11 16:42:29 2023 +0100
+++ b/rust/hg-core/src/narrow.rs	Thu Jan 12 10:28:56 2023 +0100
@@ -44,7 +44,7 @@
         .unwrap_or_default();
     if store_spec != working_copy_spec {
         return Err(HgError::abort(
-            "working copy's narrowspec is stale",
+            "abort: working copy's narrowspec is stale",
             exit_codes::STATE_ERROR,
             Some("run 'hg tracked --update-working-copy'".into()),
         )