SvnAutoConf
From ETaxonomy
Keyword substitution in Subversion takes place only if the keyword has been set on the file with svn propset, for example
svn propset svn:keywords "Id Date Author" foo.txt
It's moderately inconvenient to remember to do this every time you make add a new file to an svn repository. Instead, svn lets you control this automatically in a personal set of [runtime configuration files]. For Linux, these are in a directory named .subversion in your home directory. Windows configuration is described [[in this section of the svn book]. The .subversion file should have been made automatically the first time you used svn.
Briefly, in .subversion/config, you must (a)enable auto-config, by default "no" and (b) specify by a regular expression which files you wish which properties to be automatically have propset applied when you add them to svn.
Mine looks like this:
... [miscellany] ... enable-auto-props = yes ... [auto-props] ... *.java = svn:keywords=Date Revision Author Id *.rdf = svn:keywords=Date Revision Author Id *.owl = svn:keywords=Date Revision Author Id *.sql = svn:keywords=Date Revision Author Id *.spql = svn:keywords=Date Revision Author Id
--Bob Morris 11:18, 22 December 2011 (EST)
TO DO
- Somebody needs to check whether the IDE's such as eclipse use the same mechanism and/or where/how they put the configuration data.
- Bob needs to see if sourceforge supports setting auto-props globally in their svn implementation.