generate revision as version.