@Deprecated
  @Experimental(feature= ExperimentalFeature.PATCH_UPGRADES)
  public void setLegacy(boolean isLegacy){
    this.isLegacy = isLegacy ? (short) 1 : (short) 0;
  }
Sets whether this repository is legacy. Scoped for moving from old-style repository naming to new

@param isLegacy
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/RepositoryVersionEntity.java