# HG changeset patch # User Raphaël Gomès # Date 1673515736 -3600 # Node ID 7faedeb24eb232a804945e43cdb13f1666f36e11 # Parent 364e783896534bd542f2c6ff7f9129d9611578f1 rhg: fix user-facing error message so it matches Python implementation diff -r 364e78389653 -r 7faedeb24eb2 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()), )