diff -r 0ea323b7e3b1 -r b7d99348ea36 rust/rhg/src/commands/files.rs --- a/rust/rhg/src/commands/files.rs Mon Sep 30 12:08:49 2024 +0200 +++ b/rust/rhg/src/commands/files.rs Mon Sep 30 12:10:35 2024 +0200 @@ -90,7 +90,15 @@ if let Some(rev) = rev { let files = list_rev_tracked_files(repo, rev, matcher) .map_err(|e| (e, rev.as_ref()))?; - display_files(invocation.ui, repo, relative_paths, files.iter()) + display_files( + invocation.ui, + repo, + relative_paths, + files.iter().map::, _>(|f| { + let (f, _, _) = f?; + Ok(f) + }), + ) } else { // The dirstate always reflects the sparse narrowspec. let dirstate = repo.dirstate_map()?;