view rust/hg-core/src/operations/mod.rs @ 52430:bde718849153

rhg: support status --change, including --copies It works by parsing copy information from filelog metadata headers. The --rev --rev --copies case still falls back to Python since that will require constructing a map like pathcopies does in copies.py. As in Python, rhg by default only reports copies for newly added files. With devel.copy-tracing.trace-all-files=True, it also does it for modified files.
author Mitchell Kember <mkember@janestreet.com>
date Tue, 03 Dec 2024 09:44:57 -0500
parents 7c105b953ca4
children 6183949219b2
line wrap: on
line source

//! 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_change, status_rev_rev_no_copies, DiffStatus, ListCopies,
    StatusRevRev,
};