diff rust/hg-core/src/operations/mod.rs @ 45547: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
line wrap: on
line diff
--- a/rust/hg-core/src/operations/mod.rs	Tue Sep 15 16:46:57 2020 +0200
+++ b/rust/hg-core/src/operations/mod.rs	Fri Sep 11 17:32:53 2020 +0200
@@ -2,10 +2,12 @@
 //! 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::{CatRev, CatRevError, CatRevErrorKind};
 pub use debugdata::{
     DebugData, DebugDataError, DebugDataErrorKind, DebugDataKind,
 };