##// END OF EJS Templates
rhg: avoid calculating copies for status --no-status...
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.

File last commit:

r52933:7c105b95 default
r53239:53dc147b default
Show More
mod.rs
15 lines | 551 B | application/rls-services+xml | RustLexer
//! A distinction is made between operations and commands.
//! An operation is what can be done whereas a command is what is exposed by
//! the cli. A single command can use several operations to achieve its goal.
mod cat;
mod debugdata;
mod list_tracked_files;
mod status_rev_rev;
pub use cat::{cat, CatOutput};
pub use debugdata::debug_data;
pub use list_tracked_files::{
list_rev_tracked_files, list_revset_tracked_files, ExpandedManifestEntry,
FilesForRev,
};
pub use status_rev_rev::{status_rev_rev_no_copies, DiffStatus, StatusRevRev};