pub fn validate(
open_repository: &dyn OpenRepositoryLike,
repo_details: &RepoDetails,
repo_config: &RepoConfig,
) -> Result<(Positions, Log)>
Expand description
Validates the relative positions of the three branches, resetting next back to main if it has gone astry.
ยงErrors
Will return an Err
if any of the branches has no commits, or if user intervention is
required, or if there is an error resetting the next branch back to main.