Mercurial > hg
comparison rust/hg-core/src/revlog/revlog.rs @ 46821:e8ae91b1a63d
rhg: raise wdir specific error for `hg debugdata`
Helps remove the conditional in `test-debugcommands.t` for rhg.
Differential Revision: https://phab.mercurial-scm.org/D10254
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 23 Mar 2021 19:58:49 +0530 |
parents | b1f2c2b336ec |
children | fad504cfc94b |
comparison
equal
deleted
inserted
replaced
46820:821929d59e01 | 46821:e8ae91b1a63d |
---|---|
21 use crate::revlog::Revision; | 21 use crate::revlog::Revision; |
22 | 22 |
23 #[derive(derive_more::From)] | 23 #[derive(derive_more::From)] |
24 pub enum RevlogError { | 24 pub enum RevlogError { |
25 InvalidRevision, | 25 InvalidRevision, |
26 /// Working directory is not supported | |
27 WDirUnsupported, | |
26 /// Found more than one entry whose ID match the requested prefix | 28 /// Found more than one entry whose ID match the requested prefix |
27 AmbiguousPrefix, | 29 AmbiguousPrefix, |
28 #[from] | 30 #[from] |
29 Other(HgError), | 31 Other(HgError), |
30 } | 32 } |