views:

781

answers:

2

I'm using a VisualSVN server and TortoiseSVN client. I have set the properties

svn:keywords = Author Id Revision LastChangedDate Copyright
copyright = (c) 2009 Foo Company.

Then, when I try to use these properties in the header file (including the custom property Copyright), I do it like:

/******************************************************************************
* $Id$
* 
* $Author$
*
* $Revision$
*
* $LastChangedDate$
*
* $Copyright$
******************************************************************************/

Every property is getting substituted right, except for the Copyright. What am I still missing?

+1  A: 

I think that keywords are case sensitive. Try this:

svn:keywords = Author Id Revision LastChangedDate Copyright
Copyright = (c) 2009 Foo Company.
cedrou
I'm missing something else because it still doesn't work. Thanks!
yeyeyerman
+3  A: 

Custom keywords are currently unsupported by SVN.

Here are the supported keywords, and how they work. http://svnbook.red-bean.com/en/1.5/svn.advanced.props.special.keywords.html

Custom keywords has been a feature request for some time. http://subversion.tigris.org/issues/show%5Fbug.cgi?id=890

msemack
Thanks for the information. It seems that there are patches that allow to do that, so perhaps this will work in future releases.
yeyeyerman