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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of K V Manoj Kumar
        Sent: Friday, 30 May 2008 5:18 PM
        To: [EMAIL PROTECTED]; [email protected]
        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