strip r from revision version if there