code: def revert(self, remotepath, revision, dir = None):
  		''' Usage: revert <remotepath> revisionid [dir]'''
  		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, dirf revert(self, remotepath, revision, dir = None):
  		''' Usage: revert <remotepath> revisionid [dir]'''
  		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)
docs: Usage: revert <remotepath> revisionid [dir]