OptionalacceptOptionalbeforeruns on the copy about to be uploaded (rotation re-keys here); forces an upload
opens the server copy and the base, tried in order (newest key first)
the local working copy; merged in place
Optionallocalwhether the local copy changed since the last sync (default true). False → a cheap HEAD check first.
Optionalmaxattempts on 412 (default 5, like Qt's MaxAttempts)
OptionalmergeOptionalonOptionalsignalOptionalstate
start over from what the server has (after the user confirmed a rollback/loss)