##// END OF EJS Templates
changing-files: move default constructor value to None...
changing-files: move default constructor value to None According to Augie Fackler, using tuple as default value confuse PyType when actual values are passed at init time. Differential Revision: https://phab.mercurial-scm.org/D9086

File last commit:

r46113:33ded2d3 default
r46163:3d5b2b8e 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>;
}