void (@NotNull Project project, @NotNull Collection<HgRepository> repositories, @NotNull List<HgRepository> selectedRepositories, @NotNull DataContext context) { execute(project, repositories, selectedRepositories.isEmpty() ? null : selectedRepositories.get(0), context); }