[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: RFE: Add Subversion keyword for year

From: Henrik Sundberg <storangen_at_gmail.com>
Date: Tue, 19 Apr 2011 00:23:33 +0200

On Tue, Apr 19, 2011 at 12:02 AM, Daniel Becroft <djcbecroft_at_gmail.com> wrote:
> On Tue, Apr 19, 2011 at 7:29 AM, Alex Vincent <ajvincent_at_gmail.com> wrote:
>> I'm currently in the process of updating copyright notices where I work.
>> To me, this is an ideal place for a SVN keyword:
>> Copyright 2008-$Year$ MyCompany
>> The SVN keywords listed in the online documentation list Date, but it's
>> far too specific for a copyright.  As an alternate, perhaps a special
>> formatting keyword for dates could be established:  $Date(YYYY)$, for
>> example.
> AFAIK, the $Date keyword works off the last time the particular file was
> updated. Are you expecting this new $Year$ value to always be current (ie
> 2011), or only reflect the year in which the file was last modified (ie
> 2009)?

IANAL and slightly OT, but... are you legally allowed to update the
copyright date without making a copyrightable modification of the
If not; no tool can help you.

Received on 2011-04-19 00:24:03 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.