public static <T extends Repository> void disableActionIfAnyRepositoryIsFresh(@NotNull AnActionEvent e,
                                                                                @NotNull List<T> repositories,
                                                                                @Nls String operationName) {
    boolean isFresh = ContainerUtil.exists(repositories, Repository::isFresh);
    if (isFresh) {
      Presentation p = e.getPresentation();
      p.setEnabled(false);
      p.setDescription(DvcsBundle.messagePointer("action.not.possible.in.fresh.repo.description", operationName));
    }
  }
public static <T extends Repository> void disableActionIfAnyRepositoryIsFresh(@NotNull AnActionEvent e,
                                                                                @NotNull List<T> repositories,
                                                                                @Nls String operationName)