public interface MergingVcsWorkingCopyManager extends VcsWorkingCopyManager
VcsWorkingCopyManager
that can do merges.Modifier and Type | Method and Description |
---|---|
default boolean |
canDoMerge()
Deprecated.
since 7.1 without replacement. Should be always true.
|
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()
Deprecated.
since 7.1 without replacement, it's not used anywhere
|
retrieveSourceCode, updateToLatestRevision
@Deprecated default boolean canDoMerge()
@NotNull @Deprecated 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 © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.