Hi toby

thanx for your answer! I(I expected 'nogo' answer like yours ;-(

Question:
1. How can I execute a script automatically to set the permissions? 
   - Do I have to use the modules file?
   - If yes, do I have to add each file manually to the modules file?

2. Can I somehow tar a file prior to import/commit and untar it after checkout 
automatically?
   - this would handle /dev/xxx files

Can you provide a sample?

Cheers, Ruedi






[EMAIL PROTECTED] on 25.07.2000 09:27:50
An: [EMAIL PROTECTED] @ MailGate
Kopie: [EMAIL PROTECTED] @ MailGate, [EMAIL PROTECTED] @ MailGate, 
[EMAIL PROTECTED] @ MailGate 
Thema: Re: CVS and symbolic links

On Tuesday, July 25, [EMAIL PROTECTED] wrote:
> 
> 1. Symbolic links are not stored as is, but they are expanded.
>    I'd like to keep them as symbolic links in the repository.

Nah, don't do that, use some makefile/script to recreate them,
store the makefile/script in CVS.


> 2. Binary files lose the exec right on checkout.

Again, use some other means to store the permissions of files,
and use that means to restore the permissions.  CVS is not a
substitute for a build infrastructure...


> 3. Furthermore, I tried to add my little distribution to CVS. 
>    Has someone ever tried to add a device (/dev/null...) to CVS? How is this 
>    done? CVS seems to read from this device instead of writing /dev/null to
>    the repository.

Ouch, you're really asking for trouble.  CVS stores/versions *files*, not
any arbitrary filesystem object.  If you read the archives of this list,
you will see the same answers to the above questions time and time again.

--Toby.




Reply via email to