rust/hg-core/src/operations/mod.rs
author Simon Sapin <simon.sapin@octobus.net>
Wed, 03 Mar 2021 16:40:03 +0100
changeset 46744 b1f2c2b336ec
parent 46446 1dcd9c9975ed
child 48068 bf8837e3d7ce
permissions -rw-r--r--
rhg: `cat` command: print error messages for missing files And exit with an error code if no file was matched. This matches the behavior of Python-based hg. Differential Revision: https://phab.mercurial-scm.org/D10142

//! A distinction is made between operations and commands.
//! An operation is what can be done whereas a command is what is exposed by
//! the cli. A single command can use several operations to achieve its goal.

mod cat;
mod debugdata;
mod dirstate_status;
mod list_tracked_files;
pub use cat::{cat, CatOutput};
pub use debugdata::{debug_data, DebugDataKind};
pub use list_tracked_files::Dirstate;
pub use list_tracked_files::{list_rev_tracked_files, FilesForRev};