rust/rhg/src/commands/debugignorerhg.rs
branchstable
changeset 49558 363923bd51cd
parent 48355 6d4daf51283c
child 49640 37bc3edef76f
equal deleted inserted replaced
49557:ca19335e86e5 49558:363923bd51cd
    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);