info-cvs
[Top][All Lists]
Advanced

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

Re: cvs and file gif bmp etc


From: Syver Enstad
Subject: Re: cvs and file gif bmp etc
Date: Thu, 28 Feb 2002 19:16:13 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Pierre <address@hidden> writes:
> Can you use cvs with other file as text file ?
> I think at picture file  with .bmp, .gif extention

No, and yes. If you use cvs with binary files without specifying in
some way to cvs that the file is binary, cvs is liable to corrupt your
binary file. 

You can specify that a file is binary by using flags to
the cvs add command when adding the file, or with the cvs admin
command on an alrady added file. 

You can also automate the process by editing the cvswrappers file or
by having .cvswrappers files in your sandbox directory. I think the
most convenient way is to have a cvswrappers file that contains the
most common binary file extensions and how to handle them.

Consult your favorite CVS reference for details on the above.

PS: example for using add on a binary file: 
cvs add -kb <filename>

-- 

Vennlig hilsen 

Syver Enstad


reply via email to

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