

def _get_last_two_revisions(self, marker, revisions):
    if (marker in revisions[0].branches):
        return (revisions[0], revisions[1])
    else:
        return (revisions[1], revisions[0])

dataset/ETHPy150Open dropbox/changes/tests/changes/vcs/test_git.py GitVcsTest._get_last_two_revisions/original