rust/rhg/src/commands/debugdata.rs
changeset 49480 0199712c7a6d
parent 46593 5ce2aa7c2ad5
child 49640 37bc3edef76f
--- a/rust/rhg/src/commands/debugdata.rs	Wed Jul 06 11:46:00 2022 +0200
+++ b/rust/rhg/src/commands/debugdata.rs	Mon Jul 11 17:44:03 2022 +0200
@@ -55,6 +55,11 @@
         };
 
     let repo = invocation.repo?;
+    if repo.has_narrow() {
+        return Err(CommandError::unsupported(
+            "support for ellipsis nodes is missing and repo has narrow enabled",
+        ));
+    }
     let data = debug_data(repo, rev, kind).map_err(|e| (e, rev))?;
 
     let mut stdout = invocation.ui.stdout_buffer();