[cvsnt] Re: Year with Custom Keywords

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


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


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
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook