private static @Nullable String getAbortLine(@NotNull HgCommandResult result) {
    final List<String> errorLines = result.getErrorLines();
    return ContainerUtil.find(errorLines, s -> isAbortLine(s));
  }
private static @Nullable String getAbortLine(@NotNull HgCommandResult result)