return DEFAULT_BRANCH_NAME;
}
SvnInfoItem info = (SvnInfoItem) scmResult.getInfoItems().get( 0 );
scmUrl = info.getURL();
} else if (repository.getProviderRepository() instanceof GitScmProviderRepository) {
GitBranchParseCommand command = new GitBranchParseCommand();
command.setLogger(getLogger());
ScmResult execute = command.execute(repository.getProviderRepository(),
new ScmFileSet( scmDirectory ),
new CommandParameters());
String output = execute.getCommandOutput();
getLog().debug("Output: " + output);
String[] split = StringUtils.split(output);