Function rehome
pub fn rehome(
source: &AutoCommit,
origin: &Origin,
from_workspace: &str,
to_workspace: &str,
target: &RecordId,
) -> Result<AutoCommit, TransferError>Expand description
The destination’s copy of source, read from origin in from_workspace:
its whole history, one more change giving it target’s id and
to_workspace’s scope, and a record’s origin id kept as provenance. source
is not changed.