[cvsnt] Re: Year with Custom Keywords

Tony Hoyle tony.hoyle at march-hare.com
Tue May 23 15:45:06 BST 2006


Glen Starrett wrote:
> Walker.Workman at bentley.com wrote:
>> I need a custom keyword which will simply return the year.  For example
>> I need something like, $Copyright: 2006 $
>>
>> As you all know, the variables %d and %D return the year, date, time
>> etc.  Is there any way I can just get the year and not the other
>> information?
> 
> You'll probably have to do that with user defined fields passed on the 
> commit.
> 
Or, since it's only likely to change once a year, just write it directly into 
the keywords file.

Tony



More information about the cvsnt mailing list