public static byte @NotNull [] loadContent(@NotNull Project project,
                                             @Nullable HgRevisionNumber revisionNumber,
                                             @NotNull HgFile fileToCat) {
    HgCommandResult result = new HgCatCommand(project).execute(fileToCat, revisionNumber, fileToCat.toFilePath().getCharset());
    return result != null && result.getExitValue() == 0 ? result.getBytesOutput() : ArrayUtilRt.EMPTY_BYTE_ARRAY;
  }
public static byte @NotNull [] loadContent(@NotNull Project project,
                                             @Nullable HgRevisionNumber revisionNumber,
                                             @NotNull HgFile fileToCat)