comparison rust/rhg/src/commands/debugignorerhg.rs @ 52300: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
comparison
equal deleted inserted replaced
52299:b422acba55f1 52300:04b9a56c2d25
1 use crate::error::CommandError; 1 use crate::error::CommandError;
2 use hg; 2 use hg::dirstate::status::StatusError;
3 use hg::matchers::get_ignore_matcher; 3 use hg::matchers::get_ignore_matcher;
4 use hg::StatusError;
5 use log::warn; 4 use log::warn;
6 5
7 pub const HELP_TEXT: &str = " 6 pub const HELP_TEXT: &str = "
8 Show effective hgignore patterns used by rhg. 7 Show effective hgignore patterns used by rhg.
9 8