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

Re: [PATCH] svn-dev.el: automatic updating of Collab copyright years

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-11-17 21:33:07 CET

On 11/17/06, Erik Huelsmann <ehuels@gmail.com> wrote:
> On 11/17/06, Romain Francoise <romain@orebokech.com> wrote:
> > "Erik Huelsmann" <ehuels@gmail.com> writes:
> >
> > > Since I use emacs, I thought I'd extend svn-dev.el with a function to
> > > do it automatically.
> >
> > Emacs comes with copyright.el which already does this and handles more
> > cases than your function does...
>
> Well, it didn't seem to handle the case for our copyright message. Do
> you have a .emacs fragment for me in which copyright.el is configured
> to handle our copyright message? I'll gladly throw away this new code
> :-)

I know what the problem was: I forgot to require 'copyright.

But, the copyright module doesn't use the format Subversion uses:
Subversion uses a single year or a single range of years (ie: "(c)
2004" or "(c) 2004-2006"). The standard copyright module uses more
than one range if the ranges are non-continuous... I guess I'll stick
with my version. Thanks for pointing out though.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 17 21:33:37 2006

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