Change rev numbers to HEAD commit tag.