def get_reversed_changelog_changesets(repo):
 reversed_changelog = []
 for changeset in repo.changelog:
  reversed_changelog.insert(0, changeset)
 return reversed_changelog

def get_reversed_changelog_changesets ( repo ) : reversed_changelog = [ ] for changeset in repo . changelog : reversed_changelog . insert ( 0 , changeset ) return reversed_changelog
return a list of changesets in reverse order from that provided by the repository manifest .