Mercurial > public > mercurial-scm > hg
diff rust/rhg/src/commands/status.rs @ 52303:22d24f6d6411
rust-lib: remove exports for not too common pattern-related types
This only muddies the lib and makes the imports more confusing.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Mon, 04 Nov 2024 11:26:41 +0100 |
parents | 79e8118cd846 |
children | c2814b698df8 |
line wrap: on
line diff
--- a/rust/rhg/src/commands/status.rs Mon Nov 04 11:21:43 2024 +0100 +++ b/rust/rhg/src/commands/status.rs Mon Nov 04 11:26:41 2024 +0100 @@ -19,7 +19,7 @@ BadMatch, DirstateStatus, StatusError, StatusOptions, StatusPath, }; use hg::errors::{HgError, IoResultExt}; -use hg::filepatterns::parse_pattern_args; +use hg::filepatterns::{parse_pattern_args, PatternFileWarning}; use hg::lock::LockError; use hg::matchers::{AlwaysMatcher, IntersectionMatcher}; use hg::repo::Repo; @@ -31,7 +31,6 @@ get_bytes_from_os_str, get_bytes_from_os_string, get_path_from_bytes, }; use hg::utils::hg_path::{hg_path_to_path_buf, HgPath}; -use hg::PatternFileWarning; use hg::Revision; use hg::{self, narrow, sparse}; use log::info;