info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Adding copyright to all files automatically when added for thefirst


From: Arthur Barrett
Subject: RE: Adding copyright to all files automatically when added for thefirst time.
Date: Sat, 31 May 2008 00:06:28 +1000

To the best of my knowledge you cannot do this with CVS.
 
In CVSNT (gpl like cvs, runs on linux/unix/windows/mac etc) handles this via the keywords admin file:
http://www.cvsnt.org/manual/html/User-Defined-Keywords.html
 
Regards,
 
 
Arthur Barrett
 
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of K V Manoj Kumar
Sent: Friday, 30 May 2008 5:18 PM
To: address@hidden; address@hidden
Subject: Adding copyright to all files automatically when added for thefirst time.

Hi All,
 
   I have a small problem where I want to add some content(say Copyright) to all the files which are added for the first time.
 
   I can copy the copyright content manually to all new files but this is tedious manual task and even if the copyright changes,
   its a big problem to update all the files.
 
   So is there a way to add something like $copyright in the new file and it will be substituted from a file automatically when a new
   file is added to the CVS.
   (example : $copyright - defined copyright.h)
 
   $Id means it adds the user name who modified the file each time :) So I want something like that.
 
Thanks,
Manoj

reply via email to

[Prev in Thread] Current Thread [Next in Thread]