'Compare the current sha to the ref. ref may be a branch or tag name,
but current rev will always point to a sha. This means that a branch
or tag will never compare as True. So this ultimately only matches
against exact shas.'

def check_version(self, dest, rev_options):

    return self.get_revision(dest).startswith(rev_options[0])
