##// END OF EJS Templates
rhg: make output of `files` relative to the current directory and the root...
rhg: make output of `files` relative to the current directory and the root This matches the behavior of `hg files`. The util is added in `hg-core` instead of `rhg` because this operation could be useful for other external tools. (this was definitely not prompted by rust issue #50784, I swear) Differential Revision: https://phab.mercurial-scm.org/D8872

File last commit:

r45923:5fe25f8e default
r46007:1b319704 default
Show More
commands.rs
10 lines | 237 B | application/rls-services+xml | RustLexer
pub mod files;
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<'a> {
fn run(&self) -> Result<(), CommandError>;
}