rust/hg-core/src/sparse.rs
changeset 52302 f33b87b46135
parent 52039 ae1ab6d71f4a
child 52303 22d24f6d6411
--- a/rust/hg-core/src/sparse.rs	Mon Nov 04 11:18:36 2024 +0100
+++ b/rust/hg-core/src/sparse.rs	Mon Nov 04 11:21:43 2024 +0100
@@ -5,7 +5,7 @@
 use crate::{
     errors::HgError,
     exit_codes::STATE_ERROR,
-    filepatterns::parse_pattern_file_contents,
+    filepatterns::{PatternError, parse_pattern_file_contents},
     matchers::{
         AlwaysMatcher, DifferenceMatcher, IncludeMatcher, Matcher,
         UnionMatcher,
@@ -15,7 +15,7 @@
     repo::Repo,
     requirements::SPARSE_REQUIREMENT,
     utils::{hg_path::HgPath, SliceExt},
-    IgnorePattern, PatternError, PatternFileWarning, PatternSyntax, Revision,
+    IgnorePattern, PatternFileWarning, PatternSyntax, Revision,
     NULL_REVISION,
 };