Mercurial > public > mercurial-scm > hg
view rust/hg-core/src/operations/mod.rs @ 46357:72f5280e33b6
commit: look-up new revision once
Look-up by node is slightly more expensive, so since it is necessary
more than once, do it explicitly.
Differential Revision: https://phab.mercurial-scm.org/D9830
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Tue, 19 Jan 2021 00:18:39 +0100 |
parents | dca9cb99971c |
children | 3e2d539d0d1a |
line wrap: on
line source
//! 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 find_root; mod list_tracked_files; pub use cat::{cat, CatRevError, CatRevErrorKind}; pub use debugdata::{ debug_data, DebugDataError, DebugDataErrorKind, DebugDataKind, }; pub use find_root::{ find_root, find_root_from_path, FindRootError, FindRootErrorKind, }; pub use list_tracked_files::{ list_rev_tracked_files, FilesForRev, ListRevTrackedFilesError, ListRevTrackedFilesErrorKind, }; pub use list_tracked_files::{ Dirstate, ListDirstateTrackedFilesError, ListDirstateTrackedFilesErrorKind, };