rust/rhg/src/commands/cat.rs
changeset 49914 58074252db3c
parent 49913 c15b415d1bff
child 50765 067edf5083a1
--- a/rust/rhg/src/commands/cat.rs	Fri Jan 06 18:52:04 2023 +0100
+++ b/rust/rhg/src/commands/cat.rs	Mon Jan 09 17:40:03 2023 +0100
@@ -95,7 +95,7 @@
         None => format!("{:x}", repo.dirstate_parents()?.p1),
     };
 
-    let output = cat(&repo, &rev, files).map_err(|e| (e, rev.as_str()))?;
+    let output = cat(repo, &rev, files).map_err(|e| (e, rev.as_str()))?;
     for (_file, contents) in output.results {
         invocation.ui.write_stdout(&contents)?;
     }