def find_up(name, path=None):
    if not path:
        path = os.getcwd()
    if not exists(path):
        return None
    while path:
        if exists(join(path, name)):
            return abspath(join(path, name))
        else:
            pth = path
            path = dirname(path)
            if path == pth:
                return None
    return None
Returns all the revision data to be used in the object's revision.
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/util/file_util.py/find_up--crossover with--dataset/ETHPy150Open sshwsfc/xadmin/xadmin/plugins/xversion.py/ReversionPlugin.get_revision_data