'Provides revisions and its parent revisions.
:return: List of tuples. Every tuple contains revision and its parent
revision.'

def _revisions(self):

    revisions = list(self.script_dir.walk_revisions('base', 'heads'))
    revisions = list(reversed(revisions))
    for rev in revisions:
        (yield (rev.revision, rev.down_revision))
