BranchInfo currentMainTrackedBranch = Utils.getBranchInfo(
repositoryData.branch, repositoryData.repository, repositoryData.repositoryserver);
List<VcsBranch> openBranches = new ArrayList<VcsBranch>();
try {
WhereClauseBuilder whereBuilder = new WhereClauseBuilder();
whereBuilder.addClause("parent", "=", currentMainTrackedBranch.getFullBranchNameWithoutBranchPreffix());
BranchInfo[] branchesByName = QueryCommands.GetBranches(Utils.getRepositorySpec(repositoryData), whereBuilder.getWhereString());
log.debug("Getting open branches from branch"+ repositoryData.branch + ". Count: " + branchesByName.length);
for(BranchInfo br : branchesByName) {
openBranches.add(new VcsBranchImpl(br.getFullBranchNameWithoutBranchPreffix()));
}
} catch (PlasticException e) {