updated for new GetCurrentRevision