@Override
  public void actionPerformed(@NotNull AnActionEvent event) {
    final DataContext dataContext = event.getDataContext();
    final Project project = CommonDataKeys.PROJECT.getData(dataContext);
    if (project == null) {
      return;
    }

    HgRepositoryManager repositoryManager = HgUtil.getRepositoryManager(project);
    List<HgRepository> repositories = repositoryManager.getRepositories();
    if (repositories.isEmpty()) return;

    List<HgRepository> selectedRepositories = getSelectedRepositoriesFromEvent(event.getDataContext());

    execute(project, repositories, selectedRepositories, event.getDataContext());
  }
@Override
  public void actionPerformed(@NotNull AnActionEvent event)