scriptlet to extract just the revision