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?
Prior to SVN 1.8, custom keywords were 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 had been a feature request for some time. http://subversion.tigris.org/issues/show_bug.cgi?id=890
The feature was finally added as of SVN 1.8 (thanks MarkusSchaber). https://subversion.apache.org/docs/release-notes/1.8#custom-keywords
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With