diff rust/hg-core/src/operations/mod.rs @ 45535:72b7d58d6e35

hg-core: simplify `list_tracked_files` operation Use directly `ListDirstateTrackedFiles` rather than having an operation builder. Differential Revision: https://phab.mercurial-scm.org/D9013
author Antoine Cezar <antoine.cezar@octobus.net>
date Wed, 09 Sep 2020 12:12:11 +0200
parents 66756b34c06e
children 639f33f22faf
line wrap: on
line diff
--- a/rust/hg-core/src/operations/mod.rs	Fri Sep 18 16:52:08 2020 +0200
+++ b/rust/hg-core/src/operations/mod.rs	Wed Sep 09 12:12:11 2020 +0200
@@ -11,7 +11,8 @@
 };
 pub use find_root::{FindRoot, FindRootError, FindRootErrorKind};
 pub use list_tracked_files::{
-    ListTrackedFiles, ListTrackedFilesError, ListTrackedFilesErrorKind,
+    ListDirstateTrackedFiles, ListDirstateTrackedFilesError,
+    ListDirstateTrackedFilesErrorKind,
 };
 
 // TODO add an `Operation` trait when GAT have landed (rust #44265):