def rev_parse(refname):
    status, stdout = git('rev-parse', '-q', '--verify', refname,
                         raise_exc=False)
    if 0 != status:
        return None
    return stdout.rstrip()
Returns the extent (an Envelope) of this layer.
dataset/ETHPy150Open devstructure/blueprint/blueprint/git.py/rev_parse--crossover with--dataset/ETHPy150Open dcramer/django-compositepks/django/contrib/gis/gdal/layer.py/Layer.extent