Modified reading and writing revision values to allow for both subversion commit numbers and git hashes.