##// END OF EJS Templates
errors: set detailed exit code to 20 for locking errors...
errors: set detailed exit code to 20 for locking errors This is per https://www.mercurial-scm.org/wiki/ErrorCategoriesPlan. Differential Revision: https://phab.mercurial-scm.org/D9242

File last commit:

r46113:33ded2d3 default
r46432:e0dbfbd4 default
Show More
commands.rs
13 lines | 293 B | application/rls-services+xml | RustLexer
pub mod cat;
pub mod debugdata;
pub mod files;
pub mod root;
use crate::error::CommandError;
use crate::ui::Ui;
/// The common trait for rhg commands
///
/// Normalize the interface of the commands provided by rhg
pub trait Command {
fn run(&self, ui: &Ui) -> Result<(), CommandError>;
}