Get the revision from command line