diff rust/hg-core/src/narrow.rs @ 49982:7faedeb24eb2

rhg: fix user-facing error message so it matches Python implementation
author Rapha?l Gom?s <rgomes@octobus.net>
date Thu, 12 Jan 2023 10:28:56 +0100
parents e98fd81bb151
children 796b5d6693a4
line wrap: on
line diff
--- 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()),
         )