rust/hg-core/src/operations/list_tracked_files.rs
changeset 48343 eb428010aad2
parent 48342 10c32e1b892a
child 49136 3f5e207f78be
--- a/rust/hg-core/src/operations/list_tracked_files.rs	Tue Nov 23 18:27:42 2021 +0100
+++ b/rust/hg-core/src/operations/list_tracked_files.rs	Tue Nov 23 19:39:51 2021 +0100
@@ -77,6 +77,6 @@
 
 impl FilesForRev {
     pub fn iter(&self) -> impl Iterator<Item = Result<&HgPath, HgError>> {
-        self.0.files()
+        self.0.iter().map(|entry| Ok(entry?.path))
     }
 }