##// END OF EJS Templates
rhg: Abort based on config on share-safe mismatch...
rhg: Abort based on config on share-safe mismatch Differential Revision: https://phab.mercurial-scm.org/D9963

File last commit:

r47213:a6e4e465 default
r47214:f031fe1c default
Show More
commands.rs
15 lines | 361 B | application/rls-services+xml | RustLexer
pub mod cat;
pub mod debugdata;
pub mod debugrequirements;
pub mod files;
pub mod root;
use crate::error::CommandError;
use crate::ui::Ui;
use hg::config::Config;
/// The common trait for rhg commands
///
/// Normalize the interface of the commands provided by rhg
pub trait Command {
fn run(&self, ui: &Ui, config: &Config) -> Result<(), CommandError>;
}