RE: RFE: Add Subversion keyword for year

2011-04-19 Thread Bob Archer
> On Tue, Apr 19, 2011 at 12:02 AM, Daniel Becroft > wrote: > > On Tue, Apr 19, 2011 at 7:29 AM, Alex Vincent > 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$ MyCompa

Re: RFE: Add Subversion keyword for year

2011-04-18 Thread Kevin Grover
There are plenty of templating and text replacement programs around. Why not use one of them? IMO, it's feature bloat to try to make svn do everything possible for every person. Do you really want a Copyright notice that reads "Copyright 2008-$Year: 2011 $ FooBar Inc"? I doubt it. $ echo "Copy

Re: RFE: Add Subversion keyword for year

2011-04-18 Thread Henrik Sundberg
On Tue, Apr 19, 2011 at 12:02 AM, Daniel Becroft wrote: > On Tue, Apr 19, 2011 at 7:29 AM, Alex Vincent 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 key

Re: RFE: Add Subversion keyword for year

2011-04-18 Thread Alex Vincent
Semantically, that's a good question: does the keyword apply to a checkout or a checkin? I would personally expect the last checkin year. This reflects when the file was last updated, which is what really matters in copyrights, as I understand them. (IANAL, though.) On Mon, Apr 18, 2011 at 3:02

Re: RFE: Add Subversion keyword for year

2011-04-18 Thread Daniel Becroft
On Tue, Apr 19, 2011 at 7:29 AM, Alex Vincent 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 >