@Override
  protected void executeInCurrentThread(@NotNull HgRepository repository, @NotNull List<String> patchNames) {
    assert patchNames.size() == 1;
    executeInCurrentThread(repository, patchNames.iterator().next());
  }
@Override
  protected void executeInCurrentThread(@NotNull HgRepository repository, @NotNull List<String> patchNames)