add checkout revision script

Jenkins needs a script it can run from the build to sync its repos
with the revision parameter.