protected void showSelectedRevision(@NotNull VcsRevisionNumber selected, @NotNull AbstractVcs vcs,
                                      @NotNull VirtualFile file, @NotNull Project project) {
    if (file.isDirectory()) {
      final DiffProvider diffProvider = requireNonNull(vcs.getDiffProvider());
      VcsDiffUtil.showChangesWithWorkingDirLater(
        project,
        file,
        selected,
        diffProvider
      );
    }
    else {
      DiffActionExecutor.showDiff(vcs.getDiffProvider(), selected, file, project);
    }
  }
protected void showSelectedRevision(@NotNull VcsRevisionNumber selected, @NotNull AbstractVcs vcs,
                                      @NotNull VirtualFile file, @NotNull Project project)