Skip to content

/AWS1/CL_CMT=>MERGEBRANCHESBYFASTFORWARD()

About MergeBranchesByFastForward

Merges two branches using the fast-forward merge strategy.

Method Signature

IMPORTING

Required arguments:

IV_REPOSITORYNAME TYPE /AWS1/CMTREPOSITORYNAME /AWS1/CMTREPOSITORYNAME

The name of the repository where you want to merge two branches.

IV_SOURCECOMMITSPECIFIER TYPE /AWS1/CMTCOMMITNAME /AWS1/CMTCOMMITNAME

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

IV_DSTCOMMITSPECIFIER TYPE /AWS1/CMTCOMMITNAME /AWS1/CMTCOMMITNAME

The branch, tag, HEAD, or other fully qualified reference used to identify a commit (for example, a branch name or a full commit ID).

Optional arguments:

IV_TARGETBRANCH TYPE /AWS1/CMTBRANCHNAME /AWS1/CMTBRANCHNAME

The branch where the merge is applied.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CMTMERGEBRANCHESBYF01 /AWS1/CL_CMTMERGEBRANCHESBYF01