def getrevision(pth):

    output = info(pth)
    search_targets = ["revision"]
    keys = searchinfo(output, *search_targets)
    return keys.get(search_targets[0])
Get SVN revision.
dataset/ETHPy150Open facelessuser/EasyDiff/lib/svn.py/getrevision