svn:keywords

Subversion supports some keywords which it is able to substitute in a versioned file though there are two things you need to do:

  1. Add keywords to your file: The format is $KEYWORD$.

  2. Tell subversion about it: You will have to set the svn:keywords property to contain a space separated list of keywords which you expect to have substituted, e.g. svn propset svn:keywords "LastChangedRevision Id" FILE

The following provides a short list of supported keywords:

Feedback is always welcome! If you'd like to get in touch with me concerning the contents of this article, please use Twitter.