Using the svn:keywords property (Keyword Substitution)
I always forget this, so here it goes:
svn propset svn:keywords "Id" filename.txt
Other keywords are: Date
, Revision
, Author
, HeadURL
. You can set several keywords at once like this:
svn propset svn:keywords "Date Author" filename.txt
The original documentation is in the SVN book.
Labels: subversion