pub fn compute_commit_location(
ui: &Ui,
workspace_command: &WorkspaceCommandHelper,
destination: Option<&[RevisionArg]>,
insert_after: Option<&[RevisionArg]>,
insert_before: Option<&[RevisionArg]>,
commit_type: &str,
) -> Result<(Vec<CommitId>, Vec<CommitId>), CommandError>
Expand description
Computes the location (new parents and new children) to place commits.
The destination
argument is mutually exclusive to the insert_after
and
insert_before
arguments.