public interface MergingVcsWorkingCopyManager extends VcsWorkingCopyManager
VcsWorkingCopyManager
that can do merges.Modifier and Type | Method and Description |
---|---|
default boolean |
canDoMerge() |
VcsWorkingCopy |
checkoutAndMerge(CommonContext commonContext,
VcsRepositoryData vcsRepositoryData,
VcsBranch targetBranch,
PlanVcsRevisionData revisionOnTarget,
VcsBranch sourceBranch,
PlanVcsRevisionData sourceRevision,
File targetPath)
Checks out the targetBranch and merges sourceBranch to it.
|
default Set<Requirement> |
getMergingRequirements()
If executing merge imposes capability requirements on top of those
returned by
VcsExecutorWithRequirements#getRequirements() , return them here. |
retrieveSourceCode, updateToLatestRevision
default boolean canDoMerge()
@NotNull default Set<Requirement> getMergingRequirements()
VcsExecutorWithRequirements#getRequirements()
, return them here.@NotNull VcsWorkingCopy checkoutAndMerge(@NotNull CommonContext commonContext, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull VcsBranch targetBranch, @NotNull PlanVcsRevisionData revisionOnTarget, @NotNull VcsBranch sourceBranch, @NotNull PlanVcsRevisionData sourceRevision, @NotNull File targetPath) throws RepositoryException
vcsRepositoryData
- configuration of the repository. Note that the following parameters override branch stored in repository data.targetBranch
- - target branch (branch to checkout and merge to)revisionOnTarget
- - revision to checkout and merge tosourceBranch
- - branch to merge fromsourceRevision
- - revision to merge fromtargetPath
- - workings copy's pathRepositoryException
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.