CommandParameters parameters )
throws ScmException
{
String branchName = parameters.getString( CommandParameter.BRANCH_NAME );
ScmBranchParameters scmBranchParameters =
parameters.getScmBranchParameters( CommandParameter.SCM_BRANCH_PARAMETERS );
String message = parameters.getString( CommandParameter.MESSAGE, "[maven-scm] copy for branch " + branchName );
if ( StringUtils.isBlank( scmBranchParameters.getMessage() ) && StringUtils.isNotBlank( message ) )
{
scmBranchParameters.setMessage( message );
}
return executeBranchCommand( repository, fileSet, branchName, scmBranchParameters );
}