##// END OF EJS Templates
rhg: Fall back to Python on unsupported `rhg config <section>`...
Simon Sapin -
r47460:92e3cfd6 default
parent child Browse files
Show More
@@ -27,7 +27,7 b' pub fn run(invocation: &crate::CliInvoca'
27 .expect("missing required CLI argument")
27 .expect("missing required CLI argument")
28 .as_bytes()
28 .as_bytes()
29 .split_2(b'.')
29 .split_2(b'.')
30 .ok_or_else(|| HgError::abort(""))?;
30 .ok_or_else(|| HgError::unsupported("hg config <section>"))?;
31
31
32 let value = invocation.config.get(section, name).unwrap_or(b"");
32 let value = invocation.config.get(section, name).unwrap_or(b"");
33
33
General Comments 0
You need to be logged in to leave comments. Login now