pub fn push_branch_with_limits(
tx: &dyn Transport,
store: &ObjectStore,
branch: &str,
tip: Hash,
condition: RefWriteCondition,
rebaseline_threshold: usize,
pack_payload_cap: u64,
) -> Result<(), DispatchError>Expand description
push_branch_with_depth with an explicit per-pack payload cap in
place of the format’s hardcoded pack::MAX_TOTAL_PAYLOAD (issue
#831). Semantics are otherwise identical — see push_branch.
This is the payload-cap test seam, mirroring the #547
rebaseline_threshold pattern: integration tests inject a tiny cap
(a few KiB) to exercise multi-pack splitting in-process without
moving a multi-GiB plan through it.