Mercurial > hg
changeset 52179:c90e0f65896e
rust-revlog: generalize an error message
This is used for more than the nodemap data.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Wed, 31 Jul 2024 15:11:27 +0200 |
parents | bcd4962e0df9 |
children | 1032bb0ef365 |
files | rust/hg-cpython/src/revlog.rs |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rust/hg-cpython/src/revlog.rs Wed Jul 31 13:35:54 2024 +0200 +++ b/rust/hg-cpython/src/revlog.rs Wed Jul 31 15:11:27 2024 +0200 @@ -137,8 +137,7 @@ } else { return Err(PyErr::new::<ValueError, _>( py, - "Nodemap data buffer has an invalid memory representation" - .to_string(), + "buffer has an invalid memory representation".to_string(), )); };