rust-filepatterns: also normalize RelPath
These patterns should be normalized too; this at least does no harm,
and is necessary for proper status support.
--- 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()))