Mercurial > public > mercurial-scm > hg
diff rust/hg-core/src/dirstate.rs @ 52298:db065b33fa56
rust-dirstate: merge `dirstate_tree` module into `dirstate`
The historical reasonning for `dirstate_tree` existing in the first place is
that a new approach was needed for the tree-like dirstate and it was easier
to start somewhat fresh. Now that the former dirstate is (long) gone, we
can merge those two modules to avoid the confusion that even the module
creators sometimes get.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Mon, 04 Nov 2024 11:00:58 +0100 |
parents | e98fd81bb151 |
children | b422acba55f1 |
line wrap: on
line diff
--- a/rust/hg-core/src/dirstate.rs Mon Nov 04 10:38:17 2024 +0100 +++ b/rust/hg-core/src/dirstate.rs Mon Nov 04 11:00:58 2024 +0100 @@ -5,15 +5,19 @@ // This software may be used and distributed according to the terms of the // GNU General Public License version 2 or any later version. -use crate::dirstate_tree::on_disk::DirstateV2ParseError; +use crate::dirstate::on_disk::DirstateV2ParseError; use crate::revlog::node::NULL_NODE; use crate::revlog::Node; use crate::utils::hg_path::HgPath; use bytes_cast::BytesCast; pub mod dirs_multiset; +pub mod dirstate_map; pub mod entry; +pub mod on_disk; +pub mod owning; pub mod parsers; +pub mod path_with_basename; pub mod status; pub use self::entry::*;