That's good to know. Do you want to remove svn:keywords or fix the files or start using them?
If we decide to start using them I was just going to go through and update all the headers by hand. ----- Original Message ---- From: Gilles Bayon To: dev@ibatis.apache.org; Ron Grabowski Sent: Wednesday, January 11, 2006 2:03:20 PM Subject: Re: svn:keyword support for .cs files? You should also modify your subversion config (C:\Documents and Settings\XXX\Application Data\Subversion) as ============================ ### Section for configuring miscelleneous Subversion options. [miscellany] ### Set enable-auto-props to 'yes' to enable automatic properties ### for 'svn add' and 'svn import', it defaults to 'no'. ### Automatic properties are defined in the section 'auto-props'. enable-auto-props = yes ### is typically done by setting the 'enable-auto-props' option. [auto-props] *.cs = svn:eol-style=native;svn:keywords=Id LastChangedDate LastChangedBy; ================ to allow Subversion auto add the props on each new file added to the solution. Next, we must find a scripting solution to add props on existing files... On 1/11/06, Ron Grabowski wrote: 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