comparison rust/hg-cpython/src/dirstate/copymap.rs @ 52302: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 bf8837e3d7ce
children
comparison
equal deleted inserted replaced
52301:7ffc71552662 52302:db065b33fa56
13 }; 13 };
14 use std::cell::RefCell; 14 use std::cell::RefCell;
15 15
16 use crate::dirstate::dirstate_map::v2_error; 16 use crate::dirstate::dirstate_map::v2_error;
17 use crate::dirstate::dirstate_map::DirstateMap; 17 use crate::dirstate::dirstate_map::DirstateMap;
18 use hg::dirstate::on_disk::DirstateV2ParseError;
18 use hg::dirstate::CopyMapIter; 19 use hg::dirstate::CopyMapIter;
19 use hg::dirstate_tree::on_disk::DirstateV2ParseError;
20 use hg::utils::hg_path::HgPath; 20 use hg::utils::hg_path::HgPath;
21 21
22 py_class!(pub class CopyMap |py| { 22 py_class!(pub class CopyMap |py| {
23 data dirstate_map: DirstateMap; 23 data dirstate_map: DirstateMap;
24 24