Mercurial > public > mercurial-scm > hg-stable
diff 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 |
line wrap: on
line diff
--- a/rust/hg-core/src/revlog/revlog.rs Sat Mar 20 02:03:57 2021 +0530 +++ b/rust/hg-core/src/revlog/revlog.rs Tue Mar 23 19:58:49 2021 +0530 @@ -23,6 +23,8 @@ #[derive(derive_more::From)] pub enum RevlogError { InvalidRevision, + /// Working directory is not supported + WDirUnsupported, /// Found more than one entry whose ID match the requested prefix AmbiguousPrefix, #[from]