diff rust/rhg/src/commands/debugignorerhg.rs @ 52342:53dc147bc8b0

rhg: avoid calculating copies for status --no-status This changes how rhg status avoids printing copies with --no-status. Originally 668a871454e8 added a check right before printing copies. This changes it to match Python and check it earlier by defining `list_copies = ... && !no_status`. This makes no difference now, but when we implement --rev --rev --copies it will ensure we don't do wasteful copy tracing when it's not going to be printed.
author Mitchell Kember <mkember@janestreet.com>
date Mon, 02 Dec 2024 09:45:56 -0500
parents 04b9a56c2d25
children e2e49069eeb6
line wrap: on
line diff