diff rust/rhg/src/commands/debugignorerhg.rs @ 52336:04b9a56c2d25

rust-lib: only export very common types to the top of the crate This was done very early in the Rust project's lifecycle and I had very little Rust experience. Let's keep the `DirstateParents` since they'll pop up in all higher-level code and make the rest more explicit imports to make the imports less confusing and the lib less cluttered.
author Rapha?l Gom?s <rgomes@octobus.net>
date Mon, 04 Nov 2024 11:13:05 +0100
parents 58074252db3c
children e2e49069eeb6
line wrap: on
line diff
--- a/rust/rhg/src/commands/debugignorerhg.rs	Mon Nov 04 11:07:05 2024 +0100
+++ b/rust/rhg/src/commands/debugignorerhg.rs	Mon Nov 04 11:13:05 2024 +0100
@@ -1,7 +1,6 @@
 use crate::error::CommandError;
-use hg;
+use hg::dirstate::status::StatusError;
 use hg::matchers::get_ignore_matcher;
-use hg::StatusError;
 use log::warn;
 
 pub const HELP_TEXT: &str = "