private static boolean fatalErrorOccurred(@NotNull HgCommandResult result) {
    return result.getExitValue() == 255 || result.getRawError().contains("** unknown exception encountered"); //NON-NLS
  }
private static boolean fatalErrorOccurred(@NotNull HgCommandResult result)