diff rust/rhg/src/error.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 652149ed64f0
children 04b9a56c2d25
line wrap: on
line diff
--- a/rust/rhg/src/error.rs	Mon Nov 04 10:38:17 2024 +0100
+++ b/rust/rhg/src/error.rs	Mon Nov 04 11:00:58 2024 +0100
@@ -3,7 +3,7 @@
 use crate::NoRepoInCwdError;
 use format_bytes::format_bytes;
 use hg::config::{ConfigError, ConfigParseError, ConfigValueParseError};
-use hg::dirstate_tree::on_disk::DirstateV2ParseError;
+use hg::dirstate::on_disk::DirstateV2ParseError;
 use hg::errors::HgError;
 use hg::exit_codes;
 use hg::repo::RepoError;