Package sonia.scm.repository.spi
Interface MergeCommand
public interface MergeCommand
-
Method Summary
Modifier and TypeMethodDescriptioncomputeConflicts(MergeCommandRequest request) dryRun(MergeCommandRequest request) booleanisSupported(MergeStrategy strategy) merge(MergeCommandRequest request) Executes the merge.
-
Method Details
-
merge
Executes the merge.- Parameters:
request- The parameters specifying the merge.- Returns:
- Result holding either the new revision or a list of conflicting files.
- Throws:
NoChangesMadeException- If the merge neither had a conflict nor made any change.
-
dryRun
-
computeConflicts
-
isSupported
-
getSupportedMergeStrategies
Set<MergeStrategy> getSupportedMergeStrategies()
-