def get_init_version(abs_path=None):
 if (abs_path is None):
  abs_path = find_repo(LEGACY_REPO)
 repo = migrate.versioning.repository.Repository(abs_path)
 oldest = int(min(repo.versions.versions))
 if (oldest < 1):
  return None
 return (oldest - 1)

def get_init_version ( abs_path = None ) : if ( abs_path is None ) : abs_path = find_repo ( LEGACY_REPO ) repo = migrate . versioning . repository . Repository ( abs_path ) oldest = int ( min ( repo . versions . versions ) ) if ( oldest < 1 ) : return None return ( oldest - 1 )
get the initial version of a migrate repository .