'Usage: revert <remotepath> revisionid [dir]'

def revert(self, remotepath, revision, dir=None):

    rpath = get_pcs_path(remotepath)
    dir = get_pcs_path(dir)
    if (not dir):
        dir = os.path.dirname(rpath)
    return self.__panapi_revision_revert(rpath, revision, dir)
