--- a/rust/hg-core/src/lib.rs Mon May 06 22:48:09 2019 +0200
+++ b/rust/hg-core/src/lib.rs Mon May 06 22:50:34 2019 +0200
@@ -8,8 +8,13 @@
mod ancestors;
pub mod dagops;
pub use ancestors::{AncestorsIterator, LazyAncestors, MissingAncestors};
-pub mod testing; // unconditionally built, for use from integration tests
+mod dirstate;
pub mod discovery;
+pub mod testing; // unconditionally built, for use from integration tests
+pub use dirstate::{
+ pack_dirstate, parse_dirstate, CopyVec, CopyVecEntry, DirstateEntry,
+ DirstateParents, DirstateVec,
+};
/// Mercurial revision numbers
///
@@ -17,7 +22,6 @@
/// 4 bytes, and are liberally converted to ints, whence the i32
pub type Revision = i32;
-
/// Marker expressing the absence of a parent
///
/// Independently of the actual representation, `NULL_REVISION` is guaranteed