##// END OF EJS Templates
nodemap: make `_persist_nodemap` a public function...
nodemap: make `_persist_nodemap` a public function I will like to have a utility function using which we can directly write out nodemap for a repository without going through the recloning process. This function seems like the one containing important pieces for that. Let's make it public. Differential Revision: https://phab.mercurial-scm.org/D9932

File last commit:

r46535:ead435aa default
r47195:83f037ac default
Show More
commands.rs
14 lines | 320 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;
/// 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>;
}