I was experimenting with a few .cs files changing their headers from this:

/*****************************************************************************
 * $Header: $
 * $Revision: $
 * $Date: $
 * 
 * iBATIS.NET Data Mapper
 * Copyright (C) 2004 - Gilles Bayon

to this:

/*****************************************************************************
 * $Revision: $
 * $LastChangedDate: $
 * $LastChangedBy: $
 * 
 * iBATIS.NET Data Mapper
 * Copyright (C) 2004 - Gilles Bayon

and also setting the svn:keywords property on the files (unfortunetly you can't 
svn:keywords on directories or else I would have just added it once to 
/trunk/cs/mapper folder):

 http://svnbook.red-bean.com/en/1.1/ch07s02.html#svn-ch-7-sect-2.3.4

The end result is this:

/*****************************************************************************
 * $Revision: 367943 $
 * $LastChangedDate: 2006-01-11 00:56:46 -0500 (Wed, 11 Jan 2006) $
 * $LastChangedBy: rgrabowski $
 * 
 * iBATIS.NET Data Mapper
 * Copyright (C) 2004 - Gilles Bayon

I thought that was a good idea until I noticed that TortoiseSVN already shows 
this if you right click on a file, select Properties, then select Subversion. 
We can add in the correct keywords for all the files but the initial value for 
LastChangedDate will be the date that we checked in the files (i.e. sometime 
this week) rather than the actual last updated date. We would have to remember 
to add the svn:keyword property to each new file we added to the solution. I 
think we should remove the keywords from the license region (and update the 
copyright years?):

/*****************************************************************************
 * iBATIS.NET Data Mapper
  * Copyright (C) 2004, 2005, 2006 - Gilles Bayon

Reply via email to