public interface MergeSupport extends VcsExtension
Modifier and Type | Method and Description |
---|---|
MergeResult |
merge(VcsRoot root,
java.lang.String srcRevision,
java.lang.String dstBranch,
java.lang.String message,
MergeOptions options)
Merges specified revision in given VCS root into given
destination branch with specified message and options.
|
java.util.Map<MergeTask,MergeResult> |
tryMerge(VcsRoot root,
java.util.List<MergeTask> tasks,
MergeOptions options)
Try to merge given merge tasks with specified options
and return a map of merge result for each task.
|
@NotNull MergeResult merge(@NotNull VcsRoot root, @NotNull java.lang.String srcRevision, @NotNull java.lang.String dstBranch, @NotNull java.lang.String message, @NotNull MergeOptions options) throws VcsException
root
- VCS root of interestsrcRevision
- revision to mergedstBranch
- vcs name of destination branchmessage
- merge commit message to useoptions
- merge optionsVcsException
- in the case of significant errors, should not be
thrown if merge fails@NotNull java.util.Map<MergeTask,MergeResult> tryMerge(@NotNull VcsRoot root, @NotNull java.util.List<MergeTask> tasks, @NotNull MergeOptions options) throws VcsException
root
- VCS root of interesttasks
- merge targetsoptions
- merge optionsVcsException
- in the case of significant errors, should not be
thrown if merge fails