Mercurial > hg
diff rust/hg-core/src/lib.rs @ 46438:39e9407820ac
rust: Introduce an `HgError` enum for common error cases
Differential Revision: https://phab.mercurial-scm.org/D9892
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Wed, 27 Jan 2021 13:19:49 +0100 |
parents | 2e2033081274 |
children | 68a15b5a7e58 |
line wrap: on
line diff
--- a/rust/hg-core/src/lib.rs Tue Jan 26 20:42:36 2021 +0100 +++ b/rust/hg-core/src/lib.rs Wed Jan 27 13:19:49 2021 +0100 @@ -5,6 +5,7 @@ // GNU General Public License version 2 or any later version. mod ancestors; pub mod dagops; +pub mod errors; pub use ancestors::{AncestorsIterator, LazyAncestors, MissingAncestors}; mod dirstate; pub mod discovery;