private static @Nullable Hash tryCreateHash(@NotNull String revision) {
    try {
      return HashImpl.build(revision);
    }
    catch (Exception e) {
      return null;
    }
  }
private static @Nullable Hash tryCreateHash(@NotNull String revision)