diff rust/hg-core/src/revlog.rs @ 44142:63db6657d280

rust-nodemap: building blocks for nodetree structures This is similar to `nodetreenode` in `revlog.c`. We give it a higher level feeling for ease of handling in Rust context and provide tools for tests and debugging. The encoding choice is dictated by our ultimate goal in this series, that is to make an append-only persistent version of `nodetree`: the 0th Block must be adressed from other Blocks. Differential Revision: https://phab.mercurial-scm.org/D7787
author Georges Racinet <georges.racinet@octobus.net>
date Wed, 22 Jan 2020 16:23:29 +0100
parents b3ec1ea95ee6
children 7f86426fdd2c
line wrap: on
line diff
--- a/rust/hg-core/src/revlog.rs	Tue Jan 21 10:13:08 2020 -0500
+++ b/rust/hg-core/src/revlog.rs	Wed Jan 22 16:23:29 2020 +0100
@@ -5,6 +5,8 @@
 // GNU General Public License version 2 or any later version.
 //! Mercurial concepts for handling revision history
 
+pub mod nodemap;
+
 /// Mercurial revision numbers
 ///
 /// As noted in revlog.c, revision numbers are actually encoded in