Mercurial > hg
comparison rust/hg-core/src/operations/mod.rs @ 45541:522ec3dc44b9
hg-core: add a `CatRev` operation
Differential Revision: https://phab.mercurial-scm.org/D9051
author | Antoine Cezar <antoine.cezar@octobus.net> |
---|---|
date | Fri, 11 Sep 2020 17:32:53 +0200 |
parents | 639f33f22faf |
children | dca9cb99971c |
comparison
equal
deleted
inserted
replaced
45540:f2de24c2b1f6 | 45541:522ec3dc44b9 |
---|---|
1 //! A distinction is made between operations and commands. | 1 //! A distinction is made between operations and commands. |
2 //! An operation is what can be done whereas a command is what is exposed by | 2 //! An operation is what can be done whereas a command is what is exposed by |
3 //! the cli. A single command can use several operations to achieve its goal. | 3 //! the cli. A single command can use several operations to achieve its goal. |
4 | 4 |
5 mod cat; | |
5 mod debugdata; | 6 mod debugdata; |
6 mod dirstate_status; | 7 mod dirstate_status; |
7 mod find_root; | 8 mod find_root; |
8 mod list_tracked_files; | 9 mod list_tracked_files; |
10 pub use cat::{CatRev, CatRevError, CatRevErrorKind}; | |
9 pub use debugdata::{ | 11 pub use debugdata::{ |
10 DebugData, DebugDataError, DebugDataErrorKind, DebugDataKind, | 12 DebugData, DebugDataError, DebugDataErrorKind, DebugDataKind, |
11 }; | 13 }; |
12 pub use find_root::{FindRoot, FindRootError, FindRootErrorKind}; | 14 pub use find_root::{FindRoot, FindRootError, FindRootErrorKind}; |
13 pub use list_tracked_files::{ | 15 pub use list_tracked_files::{ |