Mercurial > public > mercurial-scm > hg-stable
comparison rust/rhg/src/ui.rs @ 48550:47f2a82ae3e4
rhg: Fall back to Python if verbose status is requested by config
Differential Revision: https://phab.mercurial-scm.org/D11943
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Sat, 18 Dec 2021 11:47:03 +0100 |
parents | 38deb65d4441 |
children | 99b1dfc06571 |
comparison
equal
deleted
inserted
replaced
48549:262a38f10427 | 48550:47f2a82ae3e4 |
---|---|
49 stderr.write_all(bytes).or_else(handle_stderr_error)?; | 49 stderr.write_all(bytes).or_else(handle_stderr_error)?; |
50 | 50 |
51 stderr.flush().or_else(handle_stderr_error) | 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 /// Plain mode means that all configuration variables which affect | 56 /// Plain mode means that all configuration variables which affect |
57 /// the behavior and output of Mercurial should be | 57 /// the behavior and output of Mercurial should be |
58 /// ignored. Additionally, the output should be stable, | 58 /// ignored. Additionally, the output should be stable, |
59 /// reproducible and suitable for use in scripts or applications. | 59 /// reproducible and suitable for use in scripts or applications. |