Subversion keywords let you do the sort of things that you’d do in CVS to show the version information in the file you were updating.
SVN allows keyword substitution exaclty the same way as CVS, there is one catch; you must go and set the svn:keywords property to the keywords you want to allow, here are the defaults:
Update: Put all the desired keywords into the property, separate with spaces.
Last 5 posts by James Little
$Date$- This keyword describes the last time the file was known to have been changed in the repository, and is of the form
$Date: 2006-07-22 21:42:37 -0700 (Sat, 22 Jul 2006) $. It may also be specified asLastChangedDate.$Revision$- This keyword describes the last known revision in which this file changed in the repository, and looks something like
$Revision: 144 $. It may also be specified asLastChangedRevisionorRev.$Author$- This keyword describes the last known user to change this file in the repository, and looks something like
$Author: harry $. It may also be specified asLastChangedBy.$HeadURL$- This keyword describes the full URL to the latest version of the file in the repository, and looks something like
$HeadURL: http://svn.collab.net/repos/trunk/README $. It may be abbreviated asURL.$Id$- This keyword is a compressed combination of the other keywords. Its substitution looks something like
$Id: calc.c 148 2006-07-28 21:30:43Z sally $, and is interpreted to mean that the filecalc.cwas last changed in revision 148 on the evening of July 28, 2006 by the usersally.
- Drew Ginn resting after the Olympics - September 8th, 2008
- Sneakerplay: The social network for sneakers? - September 8th, 2008
- The Waikato Great Race 2008 - September 7th, 2008
- Facebook about to introduce adult content? - September 4th, 2008
- Gradjobs New Zealand is live - September 2nd, 2008









