equal
deleted
inserted
replaced
23 let ignore_file = repo.working_directory_vfs().join(".hgignore"); // TODO hardcoded |
23 let ignore_file = repo.working_directory_vfs().join(".hgignore"); // TODO hardcoded |
24 |
24 |
25 let (ignore_matcher, warnings) = get_ignore_matcher( |
25 let (ignore_matcher, warnings) = get_ignore_matcher( |
26 vec![ignore_file], |
26 vec![ignore_file], |
27 &repo.working_directory_path().to_owned(), |
27 &repo.working_directory_path().to_owned(), |
28 &mut |_pattern_bytes| (), |
28 &mut |_source, _pattern_bytes| (), |
29 ) |
29 ) |
30 .map_err(|e| StatusError::from(e))?; |
30 .map_err(|e| StatusError::from(e))?; |
31 |
31 |
32 if !warnings.is_empty() { |
32 if !warnings.is_empty() { |
33 warn!("Pattern warnings: {:?}", &warnings); |
33 warn!("Pattern warnings: {:?}", &warnings); |