private void selectRevisionsToMerge(@NotNull MergeCalculatorTask task, boolean allStatusesCalculated) {
    SelectMergeItemsResult result =
      myInteraction.selectMergeItems(task.getChangeLists(), task.getMergeChecker(), allStatusesCalculated, task.areAllListsLoaded());

    switch (result.getResultCode()) {
      case all -> mergeAll(true);
      case select, showLatest -> merge(result.getSelectedLists());
      case cancel -> { }
    }
  }
private void selectRevisionsToMerge(@NotNull MergeCalculatorTask task, boolean allStatusesCalculated)