def verify_revision(rev):
    status = os.system('git rev-parse --verify --no-revs %s' % (
        rev
    ))
    return status == 0
Easy wrapper for uploading content via HTTP multi part
dataset/ETHPy150Open georgebrock/git-browse/gitbrowse/git.py/verify_revision--crossover with--dataset/ETHPy150Open zynga/jasy/jasy/http/Request.py/uploadData