##// END OF EJS Templates
rhg: fallback in `debugdata` if repo has `narrow`...
Raphaël Gomès -
r50375:0199712c default
parent child Browse files
Show More
@@ -55,6 +55,11 b' pub fn run(invocation: &crate::CliInvoca'
55 };
55 };
56
56
57 let repo = invocation.repo?;
57 let repo = invocation.repo?;
58 if repo.has_narrow() {
59 return Err(CommandError::unsupported(
60 "support for ellipsis nodes is missing and repo has narrow enabled",
61 ));
62 }
58 let data = debug_data(repo, rev, kind).map_err(|e| (e, rev))?;
63 let data = debug_data(repo, rev, kind).map_err(|e| (e, rev))?;
59
64
60 let mut stdout = invocation.ui.stdout_buffer();
65 let mut stdout = invocation.ui.stdout_buffer();
General Comments 0
You need to be logged in to leave comments. Login now