Comments
Patch
@@ -367,3 +367,12 @@
$ cat .hg/blackbox.log.1
????/??/?? ??:??:??.??? * @d3873e73d99ef67873dac33fbcc66268d5d2b6f4 (*)> (rust) files (glob)
+Subrepos are not supported
+
+ $ touch .hgsub
+ $ $NO_FALLBACK rhg files
+ unsupported feature: subrepos (.hgsub is present)
+ [252]
+ $ rhg files
+ a
+ $ rm .hgsub
@@ -98,6 +98,15 @@
config,
repo,
};
+
+ if let Ok(repo) = repo {
+ // We don't support subrepos, fallback if the subrepos file is present
+ if repo.working_directory_vfs().join(".hgsub").exists() {
+ let msg = "subrepos (.hgsub is present)";
+ return Err(CommandError::unsupported(msg));
+ }
+ }
+
let blackbox = blackbox::Blackbox::new(&invocation, process_start_time)?;
blackbox.log_command_start();
let result = run(&invocation);