Is there a way to auto insert a time stamp into a document (html/css/ js/php/pl/txt) with every commit?
+1
A:
You can use Subversion's Keyword Substitution. First you must set the svn:keywords
property on any files you want the substitution to occur on:
% svn propset svn:keywords "Date" /path/to/file
Then in your sourcecode, include the following:
$LastChangedDate$
There are other useful substitution keywords available such as Id
which includes a combination of the revision, the modification date, and the user who made the commit.
Amit
2010-07-30 20:42:00
Thanks Amit. That works and Cornerstone made it even easier in their UI.
Nutmeg
2010-08-22 00:52:41