diff rust/rhg/src/error.rs @ 46748:12d59eec7f1d

rhg: Align with Python on some more error messages Differences can cause some tests to fail Differential Revision: https://phab.mercurial-scm.org/D10133
author Simon Sapin <simon.sapin@octobus.net>
date Thu, 04 Mar 2021 13:30:20 +0100
parents 3d692e724d06
children b1f2c2b336ec
line wrap: on
line diff
--- a/rust/rhg/src/error.rs	Fri Mar 12 22:38:40 2021 +0100
+++ b/rust/rhg/src/error.rs	Thu Mar 04 13:30:20 2021 +0100
@@ -72,7 +72,7 @@
         match error {
             RepoError::NotFound { at } => CommandError::Abort {
                 message: format_bytes!(
-                    b"repository {} not found",
+                    b"abort: repository {} not found",
                     get_bytes_from_path(at)
                 ),
             },