rhg: don't fallback if `strip` or `rebase` are activated
Neither of these extensions do anything other than add commands, so ignoring
them opens up more of the test suite to rhg.
--- a/rust/rhg/src/main.rs Mon Jul 11 17:44:03 2022 +0200
+++ b/rust/rhg/src/main.rs Tue Jul 12 10:15:52 2022 +0200
@@ -677,8 +677,15 @@
/// The `*` extension is an edge-case for config sub-options that apply to all
/// extensions. For now, only `:required` exists, but that may change in the
/// future.
-const SUPPORTED_EXTENSIONS: &[&[u8]] =
- &[b"blackbox", b"share", b"sparse", b"narrow", b"*"];
+const SUPPORTED_EXTENSIONS: &[&[u8]] = &[
+ b"blackbox",
+ b"share",
+ b"sparse",
+ b"narrow",
+ b"*",
+ b"strip",
+ b"rebase",
+];
fn check_extensions(config: &Config) -> Result<(), CommandError> {
if let Some(b"*") = config.get(b"rhg", b"ignored-extensions") {