changeset 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 364e78389653
children 795b5b01cbd2
files rust/hg-core/src/narrow.rs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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()),
         )