##// END OF EJS Templates
rhg: add buffered stdout writing possibility...
rhg: add buffered stdout writing possibility Improve batch stdout writing performance. At some point line buffered output should be introduced. Differential Revision: https://phab.mercurial-scm.org/D8866

File last commit:

r45920:47997afa default
r45921:eb55274d default
Show More
commands.rs
9 lines | 222 B | application/rls-services+xml | RustLexer
Antoine Cezar
rhg: add RootCommand using hg-core FindRoot operation to prepare `hg root`...
r45592 pub mod root;
Antoine Cezar
rhg: add Command trait for subcommands implemented by rhg...
r45515 use crate::error::CommandError;
/// The common trait for rhg commands
///
/// Normalize the interface of the commands provided by rhg
Antoine Cezar
rhg: ask the error message from `CommandError`...
r45920 pub trait Command<'a> {
Antoine Cezar
rhg: add Command trait for subcommands implemented by rhg...
r45515 fn run(&self) -> Result<(), CommandError>;
}