How to display latest revision in a file?

svn, versioning

Solution

Did you try to use hooks? They work on server-side only but may do the trick. Otherwise I would just call a script do update the revision if the keywords aren't suitable for you.

Problem

I'm wondering how do you deal with displaying release revision number when pushing live new versions of your app? You can use `$Rev$` in a file to get latest revision, but only after you update the file. What if I want to update a string in one file every time I change any file in the repository/directory? Is there a way?

Original source