[SATLUG] cvs question

Channing channing-c at satx.rr.com
Wed Mar 8 14:47:00 CST 2006


Borries Demeler wrote:
> Thanks for the useful information. Where should I put the cvswrappers file?
> I don't have one yet. Is there a standard location?
>
> -Borries
>   
>> CVS comes with a file called cvswrappers which defines the default
>> action for many file types if not specified directly on the command
>> line.  This is why some binary files will be inserted into CVS just
>> fine while others won't (because they aren't defined in cvswrappers).
>>
>> Anyway, remove the icon from CVS and then add it back making sure to
>> use the -kb option to cvs so that CVS will know it's binary.  Or
>> alternatively, add a rule for the file type to cvswrappers and don't
>> worry about it again.  For a Windows icon file, the cvswrappers entry
>> would look something like this:
>>
>> *.ico -k 'b' -m COPY
>>
>> -Mike
>>
>>
>> On 3/8/06, Borries Demeler <demeler at biochem.uthscsa.edu> wrote:
>>     
>>> I have a question regarding cvs:
>>>
>>> When I commit a binary file to cvs, it appears to be perfectly
>>> fine, except in one case: I have an icon file that when committed
>>> to cvs and retrieved by windows cvs gets somehow garbled. Is there
>>> a particular option that allows me to assure binary files are
>>> correctly transferred in CVS? This problem occurs both under
>>> windows and under Linux, but only with this icon file.
>>>
>>> Thanks, -Borries
>>> --
>>>       
If I may -

The cvswrappers file is in the CVSROOT module.  So...

    cvs checkout CVSROOT
    vi CVSROOT/cvswrappers
    cvs commit CVSROOT

or something like that :)

Channing




More information about the SATLUG mailing list