Skip to content

/AWS1/CL_CMT=>GETBRANCH()

About GetBranch

Returns information about a repository branch, including its name and the last commit ID.

Method Signature

IMPORTING

Optional arguments:

IV_REPOSITORYNAME TYPE /AWS1/CMTREPOSITORYNAME /AWS1/CMTREPOSITORYNAME

The name of the repository that contains the branch for which you want to retrieve information.

IV_BRANCHNAME TYPE /AWS1/CMTBRANCHNAME /AWS1/CMTBRANCHNAME

The name of the branch for which you want to retrieve information.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CMTGETBRANCHOUTPUT /AWS1/CL_CMTGETBRANCHOUTPUT