##// END OF EJS Templates
rhg: don't fallback if `strip` or `rebase` are activated...
Raphaël Gomès -
r50376:a0d189b2 default
parent child Browse files
Show More
@@ -677,8 +677,15 b' impl OnUnsupported {'
677 /// The `*` extension is an edge-case for config sub-options that apply to all
677 /// The `*` extension is an edge-case for config sub-options that apply to all
678 /// extensions. For now, only `:required` exists, but that may change in the
678 /// extensions. For now, only `:required` exists, but that may change in the
679 /// future.
679 /// future.
680 const SUPPORTED_EXTENSIONS: &[&[u8]] =
680 const SUPPORTED_EXTENSIONS: &[&[u8]] = &[
681 &[b"blackbox", b"share", b"sparse", b"narrow", b"*"];
681 b"blackbox",
682 b"share",
683 b"sparse",
684 b"narrow",
685 b"*",
686 b"strip",
687 b"rebase",
688 ];
682
689
683 fn check_extensions(config: &Config) -> Result<(), CommandError> {
690 fn check_extensions(config: &Config) -> Result<(), CommandError> {
684 if let Some(b"*") = config.get(b"rhg", b"ignored-extensions") {
691 if let Some(b"*") = config.get(b"rhg", b"ignored-extensions") {
General Comments 0
You need to be logged in to leave comments. Login now