# HG changeset patch
# User Raphaël Gomès <rgomes@octobus.net>
# Date 2023-01-12 09:28:56
# Node ID 7faedeb24eb232a804945e43cdb13f1666f36e11
# Parent  364e783896534bd542f2c6ff7f9129d9611578f1

rhg: fix user-facing error message so it matches Python implementation

diff --git a/rust/hg-core/src/narrow.rs b/rust/hg-core/src/narrow.rs
--- a/rust/hg-core/src/narrow.rs
+++ b/rust/hg-core/src/narrow.rs
@@ -44,7 +44,7 @@ pub fn matcher(
         .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()),
         )