Mercurial > public > mercurial-scm > hg
diff rust/rhg/src/error.rs @ 52302:f33b87b46135
rust-lib: move `PatternError` to the `filepatterns` module
This is where it belongs
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Mon, 04 Nov 2024 11:21:43 +0100 |
parents | 79e8118cd846 |
children | 393ad2685fb4 |
line wrap: on
line diff
--- a/rust/rhg/src/error.rs Mon Nov 04 11:18:36 2024 +0100 +++ b/rust/rhg/src/error.rs Mon Nov 04 11:21:43 2024 +0100 @@ -9,12 +9,12 @@ use hg::dirstate::DirstateMapError; use hg::errors::HgError; use hg::exit_codes; +use hg::filepatterns::PatternError; use hg::repo::RepoError; use hg::revlog::RevlogError; use hg::sparse::SparseConfigError; use hg::utils::files::get_bytes_from_path; use hg::utils::hg_path::HgPathError; -use hg::PatternError; use std::convert::From; /// The kind of command error