[Top][All Lists]

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


From: Christopher.Fouts
Subject: RE: $CVSROOT/CVSROOT scripts
Date: Mon, 21 Jun 2004 14:41:44 -0400

Please see embedded comments...

>-----Original Message-----
>From: Larry Jones [mailto:address@hidden 
>Sent: Monday, June 21, 2004 2:07 PM
>To: Fouts Christopher ()
>Cc: address@hidden
>Subject: Re: $CVSROOT/CVSROOT scripts
>address@hidden writes:
>> Ok what's the proper way of putting scripts into this directory that 
>> the cvs files can use.
>As usual, the answer begins with "That depends...".  If you 
>don't care about revision control on the scripts, then you can 
>just copy them into the directory.  If you do want revision 
>control, then you need to follow the basic process you 
>outlined with just a few corrections:
>> - checkout the $CVSROOT/CVSROOT directory
>> - cvs add file
>Set the permissions the way you want them now and CVS will 
>preserve them for you.

Again I must be doing something wrong since CVS sets up the 
file permissions to r--r--r-- regardless of my file permissions.
I have set CVSUMASK to 007 to no avail (or is this the wrong
CVSUMASK setting?)

- chris
>> - modify loginfo to call the file
>Also modify the checkoutlist file to include your new file.
>> - cvs commit
>> - cp ../CVSROOT/,v ../CVSROOT/ (???)
>> - Remove RCS info from (???)
>No.  If you added your file to checkoutlist, CVS should check 
>it out automatically.  (And will do so every time to commit 
>changes to it in the future.)  If you neglected to do that, 
>simply do so now and CVS will checkout your file when you 
>checkin the change to checkoutlist.
>> - Ensure correct rwx permissions for ../CVSROOT/
>A good idea, but it shouldn't be necessary if you set them 
>correctly before checking it in the first time.  If you 
>neglected to do that, you can set the permissions on the RCS 
>file and CVS should copy them to the checkout out file in the future.
>-Larry Jones
>If I was being raised in a better environment, I wouldn't
>do things like that. -- Calvin

reply via email to

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