Mercurial > public > mercurial-scm > hg
comparison rust/rhg/src/commands/files.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 | 904647f7d983 |
children | cc6faec62cb7 |
comparison
equal
deleted
inserted
replaced
46031:c701f616d852 | 46032:8d6164098782 |
---|---|
89 rev | 89 rev |
90 )) | 90 )) |
91 .into(), | 91 .into(), |
92 )) | 92 )) |
93 } | 93 } |
94 ListRevTrackedFilesErrorKind::AmbiguousPrefix => { | |
95 CommandErrorKind::Abort(Some( | |
96 utf8_to_local(&format!( | |
97 "abort: ambiguous revision identifier {}\n", | |
98 rev | |
99 )) | |
100 .into(), | |
101 )) | |
102 } | |
94 ListRevTrackedFilesErrorKind::UnsuportedRevlogVersion(version) => { | 103 ListRevTrackedFilesErrorKind::UnsuportedRevlogVersion(version) => { |
95 CommandErrorKind::Abort(Some( | 104 CommandErrorKind::Abort(Some( |
96 utf8_to_local(&format!( | 105 utf8_to_local(&format!( |
97 "abort: unsupported revlog version {}\n", | 106 "abort: unsupported revlog version {}\n", |
98 version | 107 version |