##// END OF EJS Templates
repository: introduce constant for sparse repo requirement and use it...
repository: introduce constant for sparse repo requirement and use it In future we will like to much cleaner logic around which requirement is for working copy and which can go in store. To start with that, we first need to de-clutter the requirement values spread around and replace them with constants. Differential Revision: https://phab.mercurial-scm.org/D8911

File last commit:

r45570:afecc7f7 default
r45914:a1f51c7d default
Show More
commands.rs
9 lines | 218 B | application/rls-services+xml | RustLexer
pub mod root;
use crate::error::CommandError;
/// The common trait for rhg commands
///
/// Normalize the interface of the commands provided by rhg
pub trait Command {
fn run(&self) -> Result<(), CommandError>;
}