Mercurial > public > mercurial-scm > hg-stable
view rust/hg-core/src/operations/mod.rs @ 52156:e6a44bc91bc2 stable
rust-update: make `update_from_null` respect `worker.numcpu` config option
This was overlooked in the original series.
This is important for tests (because we run many at once), and for the
occasional end user that wants to keep their CPU usage in check.
A future series should clean up this `worker` parameter tunelling business by
rewriting the config in Rust, but doing so on stable would be a very bad
idea.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Tue, 05 Nov 2024 15:21:09 +0100 |
parents | 7c105b953ca4 |
children | bde718849153 |
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_rev_rev_no_copies, DiffStatus, StatusRevRev};