pub fn push_all_with(
cwd: &Path,
tx: &dyn Transport,
remote: Option<&str>,
force: bool,
) -> Result<usize, 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.