@Deprecated
  @Experimental(feature= ExperimentalFeature.PATCH_UPGRADES)
  public void setLegacyRepoFileName(String stackName, String repoVersion) {
    this.m_repoFileName = String.format("%s-%s", stackName, repoVersion);
  }
Sets filename for the repo

@param stackName  name of the stack
@param repoVersion repository version
ambari-server/src/main/java/org/apache/ambari/server/agent/CommandRepository.java