@Override
  public void actionPerformed(@NotNull AnActionEvent e) {
    HgMqUnAppliedPatchesPanel patchInfo = e.getData(HgMqUnAppliedPatchesPanel.MQ_PATCHES);
    if (patchInfo == null) return;
    List<String> names = patchInfo.getSelectedPatchNames();
    HgRepository repository = patchInfo.getRepository();
    Runnable task = () -> {
      ProgressManager.getInstance().getProgressIndicator().setText(getTitle());
      executeInCurrentThread(repository, names);
    };
    patchInfo.updatePatchSeriesInBackground(task);
  }
@Override
  public void actionPerformed(@NotNull AnActionEvent e)