##// END OF EJS Templates
rhg: sort unsupported extensions in error message...
Raphaël Gomès -
r49842:c75dae6e default
parent child Browse files
Show More
@@ -674,6 +674,9 b' fn check_extensions(config: &Config) -> '
674 if unsupported.is_empty() {
674 if unsupported.is_empty() {
675 Ok(())
675 Ok(())
676 } else {
676 } else {
677 let mut unsupported: Vec<_> = unsupported.into_iter().collect();
678 // Sort the extensions to get a stable output
679 unsupported.sort();
677 Err(CommandError::UnsupportedFeature {
680 Err(CommandError::UnsupportedFeature {
678 message: format_bytes!(
681 message: format_bytes!(
679 b"extensions: {} (consider adding them to 'rhg.ignored-extensions' config)",
682 b"extensions: {} (consider adding them to 'rhg.ignored-extensions' config)",
General Comments 0
You need to be logged in to leave comments. Login now