def versions(self, version=None):
        try:
            versions = [Version(self, c) for c in self._commits()]
        except Exception, e:
            log.debug('No versions exist')
            return []
        if version is not None and versions:
            try:
                versions = versions[version]
            except IndexError:
                raise VersionError('Version %s does not exist' % version)
        return versions
List of Versions of this repository.
dataset/ETHPy150Open rsgalloway/grit/grit/repo/local.py/Local.versions