Is there a way to show the SVN version of a file, inside the file?
We use SVN for version control. We primarily code in PHP.
What I am trying to do:
So I would like to show what SVN version # the file is inside the head comment block. So I was curious if there is some set of SVN functions/tags that would do that automatically, without having to remember to update the number everytime you commit.
Or I just thought of this one, is there some kind of string replace tag that you could put into the file, that way when you commit to SVN, SVN would swap out the tag with the specific piece of information?
Thank you.