info-cvs
[Top][All Lists]
Advanced

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

RE: binary files bad idea? why?


From: Christopher.Fouts
Subject: RE: binary files bad idea? why?
Date: Wed, 19 May 2004 17:44:45 -0400

> Well, CVS does handle binary files without problems in a repository if
they are checked in with -kb. 

        > cvs admin -kb file

will set a file's mode as a binary file if it was NOT originally done so
during check in.

-chris

-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Spiro Trikaliotis
Sent: Wednesday, May 19, 2004 11:49 AM
To: address@hidden
Subject: Re: binary files bad idea? why?


Hello Marko,

* On Wed, May 19, 2004 at 10:11:32AM +0200 marko wrote:
 
> just read that handling of binary files with cvs is a bad idea (or 
> something similar).
> 
> Well, I guess one has to add that cvs might not be that suitable for 
> the case of binary files, but, nevertheless, you won't run into 
> trouble if you properly define them as of type 'binary' at initial 
> import of add to a repository.

Well, CVS does handle binary files without problems in a repository if
they are checked in with -kb. Anyway, if these binaries tend to change,
CVS (and the RCS file format) cannot handle them "in a good way", so
that the diffs tend to get really large. In fact, you might end in
storing the binary file completely in many cases.

If you only check in the binaries "once and forever", this is not a
problem. In fact, that's what I'm doing myself.

Regards,
   Spiro.

-- 
Spiro R. Trikaliotis         I'm subscribed to the mailing lists I'm
posting,
http://www.trikaliotis.net/  so please refrain from Cc:ing me. Thank
you.


_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs




reply via email to

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