author | Arun Kulshreshtha <akulshreshtha@janestreet.com> |
Wed, 26 Apr 2023 15:31:02 -0400 | |
branch | stable |
changeset 50361 | 668a871454e8 |
parent 50360 | a20df0150f82 |
child 50362 | 51041a1a4c59 |
--- a/rust/rhg/src/commands/status.rs Wed Apr 26 16:18:12 2023 -0400 +++ b/rust/rhg/src/commands/status.rs Wed Apr 26 15:31:02 2023 -0400 @@ -557,7 +557,7 @@ } self.ui .write_stdout_labelled(&format_bytes!(b"{}\n", path), label)?; - if let Some(source) = copy_source { + if let Some(source) = copy_source.filter(|_| !self.no_status) { let label = "status.copied"; self.ui.write_stdout_labelled( &format_bytes!(b" {}\n", source.as_bytes()),