Mercurial > public > mercurial-scm > hg
diff rust/rhg/src/commands/debugdata.rs @ 46032:8d6164098782
rhg: allow specifying a changeset ID prefix
Differential Revision: https://phab.mercurial-scm.org/D9479
author | Simon Sapin <simon-commits@exyr.org> |
---|---|
date | Mon, 30 Nov 2020 19:34:49 +0100 |
parents | b1cea0dc9db0 |
children | dca9cb99971c |
line wrap: on
line diff
--- a/rust/rhg/src/commands/debugdata.rs Thu Dec 03 13:23:59 2020 -0800 +++ b/rust/rhg/src/commands/debugdata.rs Mon Nov 30 19:34:49 2020 +0100 @@ -55,6 +55,15 @@ .into(), )), }, + DebugDataErrorKind::AmbiguousPrefix => CommandError { + kind: CommandErrorKind::Abort(Some( + utf8_to_local(&format!( + "abort: ambiguous revision identifier{}\n", + rev + )) + .into(), + )), + }, DebugDataErrorKind::UnsuportedRevlogVersion(version) => CommandError { kind: CommandErrorKind::Abort(Some( utf8_to_local(&format!(