rust/rhg/src/commands/files.rs
changeset 52036 7c105b953ca4
parent 52034 b7d99348ea36
child 52343 393ad2685fb4
--- a/rust/rhg/src/commands/files.rs	Mon Sep 30 19:12:42 2024 +0200
+++ b/rust/rhg/src/commands/files.rs	Mon Sep 30 19:15:19 2024 +0200
@@ -7,7 +7,7 @@
 use hg::filepatterns::parse_pattern_args;
 use hg::matchers::IntersectionMatcher;
 use hg::narrow;
-use hg::operations::list_rev_tracked_files;
+use hg::operations::list_revset_tracked_files;
 use hg::repo::Repo;
 use hg::utils::files::get_bytes_from_os_str;
 use hg::utils::filter_map_results;
@@ -88,7 +88,7 @@
     };
 
     if let Some(rev) = rev {
-        let files = list_rev_tracked_files(repo, rev, matcher)
+        let files = list_revset_tracked_files(repo, rev, matcher)
             .map_err(|e| (e, rev.as_ref()))?;
         display_files(
             invocation.ui,