public static void addBranches(LocalTask task, VcsTaskHandler.TaskInfo[] info, boolean original) {
    for (VcsTaskHandler.TaskInfo taskInfo : info) {
      List<BranchInfo> branchInfos = BranchInfo.fromTaskInfo(taskInfo, original);
      for (BranchInfo branchInfo : branchInfos) {
        task.addBranch(branchInfo);
      }
    }
  }
public static void addBranches(LocalTask task, VcsTaskHandler.TaskInfo[] info, boolean original)