##// END OF EJS Templates
rhg: add harness tests for rhg files...
rhg: add harness tests for rhg files Differential Revision: https://phab.mercurial-scm.org/D8873

File last commit:

r45923:5fe25f8e default
r46008:e339693a default
Show More
commands.rs
10 lines | 237 B | application/rls-services+xml | RustLexer
Antoine Cezar
rhg: add a `Files` `Command` to prepare the `rhg files` subcommand...
r45923 pub mod files;
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>;
}