@Override
  public @Nullable HgCommandResult executeInCurrentThread(final @Nullable VirtualFile repo,
                                                          final @NotNull String operation,
                                                          final @Nullable List<String> arguments) {
    SocketServer promptServer = new SocketServer(new PromptReceiver(new HgDeleteModifyPromptHandler()));
    try {
      int promptPort = promptServer.start();
      return super.executeInCurrentThread(repo, operation, prepareArguments(arguments, promptPort));
    }
    catch (IOException e) {
      showError(e);
      LOG.info("IOException during preparing command", e);
      return null;
    }
    finally {
      promptServer.stop();
    }
  }
@Override
  public @Nullable HgCommandResult executeInCurrentThread(final @Nullable VirtualFile repo,
                                                          final @NotNull String operation,
                                                          final @Nullable List<String> arguments)