--- 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,
};