pub fn push_all_with(
cwd: &Path,
tx: &dyn Transport,
remote: Option<&str>,
force: bool,
authority: Option<&dyn StepAuthority>,
) -> Result<Pushed, DispatchError>Expand description
CAS-aware mirror push (mkit push --all). Pushes every local
refs/heads/* to the remote, using the remote-tracking ref under
refs/remotes/<remote>/<branch> as the CAS lease (Missing when no
tracking ref exists, Match otherwise). force upgrades every write
to an unconditional Any. On success each pushed branch’s
remote-tracking ref is advanced to the pushed tip.
remote is the remote NAME used for the local tracking-ref
namespace; None means the legacy default. A branch too large for one
advance is split (see push_branch_steps); its tracking ref follows each
published advance, so an interrupted push resumes where it stopped.
authority is checked before a split branch uploads anything.