##// END OF EJS Templates
rhg: Fall back to Python if verbose status is requested by config...
Simon Sapin -
r49344:47f2a82a default
parent child Browse files
Show More
@@ -182,6 +182,17 b' pub fn run(invocation: &crate::CliInvoca'
182 182 let ui = invocation.ui;
183 183 let config = invocation.config;
184 184 let args = invocation.subcommand_args;
185
186 let verbose = !ui.plain()
187 && !args.is_present("print0")
188 && (config.get_bool(b"ui", b"verbose")?
189 || config.get_bool(b"commands", b"status.verbose")?);
190 if verbose {
191 return Err(CommandError::unsupported(
192 "verbose status is not supported yet",
193 ));
194 }
195
185 196 let all = args.is_present("all");
186 197 let display_states = if all {
187 198 // TODO when implementing `--quiet`: it excludes clean files
@@ -51,7 +51,7 b' impl Ui {'
51 51 stderr.flush().or_else(handle_stderr_error)
52 52 }
53 53
54 /// is plain mode active
54 /// Return whether plain mode is active.
55 55 ///
56 56 /// Plain mode means that all configuration variables which affect
57 57 /// the behavior and output of Mercurial should be
@@ -1,7 +1,3 b''
1 TODO: fix rhg bugs that make this test fail when status is enabled
2 $ unset RHG_STATUS
3
4
5 1 $ hg init
6 2 $ cat << EOF > a
7 3 > Small Mathematical Series.
General Comments 0
You need to be logged in to leave comments. Login now