changeset 42957 | 7a01778bc7b7 |
parent 42886 | 7083ac37314f |
child 43271 | 99394e6c5d12 |
--- a/rust/hg-core/src/lib.rs Sun Sep 01 20:53:14 2019 +0200 +++ b/rust/hg-core/src/lib.rs Sun Sep 01 20:53:14 2019 +0200 @@ -18,6 +18,7 @@ mod filepatterns; pub mod utils; +use crate::utils::hg_path::HgPathBuf; pub use filepatterns::{ build_single_regex, read_pattern_file, PatternSyntax, PatternTuple, }; @@ -96,7 +97,7 @@ } #[derive(Debug, PartialEq)] pub enum DirstateMapError { - PathNotFound(Vec<u8>), + PathNotFound(HgPathBuf), EmptyPath, }