--- a/rust/rhg/src/error.rs Tue Feb 18 16:57:50 2025 +0100
+++ b/rust/rhg/src/error.rs Tue Feb 18 22:49:43 2025 +0100
@@ -285,6 +285,15 @@
exit_codes::ABORT,
)
}
+ SparseConfigError::WhitespaceAtEdgeOfPattern(prefix) => {
+ Self::abort_with_exit_code_bytes(
+ format_bytes!(
+ b"narrow pattern with whitespace at the edge: {}",
+ &prefix
+ ),
+ exit_codes::ABORT,
+ )
+ }
SparseConfigError::IncludesInNarrow => Self::abort(
"including other spec files using '%include' \
is not supported in narrowspec",