# HG changeset patch # User Spencer Baugh # Date 1690985363 14400 # Node ID df6dfad5009a700155ba5ec25b3b10b149308a3a # Parent 796b5d6693a4c457dbbb17769edb4beedf3d825f rust-filepatterns: also normalize RelPath These patterns should be normalized too; this at least does no harm, and is necessary for proper status support. diff -r 796b5d6693a4 -r df6dfad5009a rust/hg-core/src/filepatterns.rs --- a/rust/hg-core/src/filepatterns.rs Wed Aug 09 18:08:28 2023 -0400 +++ b/rust/hg-core/src/filepatterns.rs Wed Aug 02 10:09:23 2023 -0400 @@ -317,6 +317,7 @@ PatternSyntax::RootGlob | PatternSyntax::Path | PatternSyntax::RelGlob + | PatternSyntax::RelPath | PatternSyntax::RootFiles => normalize_path_bytes(pattern), PatternSyntax::Include | PatternSyntax::SubInclude => { return Err(PatternError::NonRegexPattern(entry.clone()))