Mercurial > public > mercurial-scm > hg-stable
diff rust/hg-core/src/errors.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 | 97ac588b6d9e |
line wrap: on
line diff
--- a/rust/hg-core/src/errors.rs Fri Mar 12 22:38:40 2021 +0100 +++ b/rust/hg-core/src/errors.rs Thu Mar 04 13:30:20 2021 +0100 @@ -81,7 +81,7 @@ write!(f, "abort: {}: {}", context, error) } HgError::CorruptedRepository(explanation) => { - write!(f, "abort: corrupted repository: {}", explanation) + write!(f, "abort: {}", explanation) } HgError::UnsupportedFeature(explanation) => { write!(f, "unsupported feature: {}", explanation)