diff rust/hg-core/src/repo.rs @ 52301:79e8118cd846

rust-lib: move `Dirstate*Error` to the `dirstate` module That's where they belong and should always have been there.
author Rapha?l Gom?s <rgomes@octobus.net>
date Mon, 04 Nov 2024 11:18:36 +0100
parents db065b33fa56
children 94e2547e6f3d
line wrap: on
line diff
--- a/rust/hg-core/src/repo.rs	Mon Nov 04 11:13:05 2024 +0100
+++ b/rust/hg-core/src/repo.rs	Mon Nov 04 11:18:36 2024 +0100
@@ -2,7 +2,7 @@
 use crate::dirstate::dirstate_map::{DirstateIdentity, DirstateMapWriteMode};
 use crate::dirstate::on_disk::Docket as DirstateDocket;
 use crate::dirstate::owning::OwningDirstateMap;
-use crate::dirstate::DirstateParents;
+use crate::dirstate::{DirstateError, DirstateParents};
 use crate::errors::HgResultExt;
 use crate::errors::{HgError, IoResultExt};
 use crate::lock::{try_with_lock_no_wait, LockError};
@@ -17,7 +17,6 @@
 use crate::utils::hg_path::HgPath;
 use crate::utils::SliceExt;
 use crate::vfs::{is_dir, is_file, Vfs, VfsImpl};
-use crate::DirstateError;
 use crate::{exit_codes, requirements, NodePrefix, UncheckedRevision};
 use std::cell::{Ref, RefCell, RefMut};
 use std::collections::HashSet;