rust/rhg/src/commands/status.rs
changeset 48342 10c32e1b892a
parent 48338 f9db8eeb3aec
child 48343 eb428010aad2
--- a/rust/rhg/src/commands/status.rs	Fri Nov 19 17:34:48 2021 +0100
+++ b/rust/rhg/src/commands/status.rs	Tue Nov 23 18:27:42 2021 +0100
@@ -279,7 +279,7 @@
     if relative && !ui.plain() {
         relativize_paths(
             repo,
-            paths,
+            paths.iter().map(Ok),
             |path: Cow<[u8]>| -> Result<(), UiError> {
                 ui.write_stdout(
                     &[status_prefix, b" ", path.as_ref(), b"\n"].concat(),