On Tue, 14 Jan 2003, Andre Poenitz wrote:
> On Tue, Jan 14, 2003 at 02:40:15PM +0000, Angus Leeming wrote:
> > Guys, I've just been reading up on cvs and have come across this in the
> > sourceforge "use of cvs" faq to be found at
> >
> > https://sourceforge.net/docman/display_doc.php?docid=768&group_id=1
> >
> > The reason I bring this up is because lib/images/banner.ppm is a binary file.
> > I presume that this "cvs admin -kb" stuff is relevant to it? Alternatively,
> > of course, we could always store banner.ppm in ascii mode.
>
> I have every kind of library in CVS without any problem so far...
> However, a "ASCII source file" does not sound bad...
>
Using CVS with binary files while treating them as ASCII-files_is_ a bad
idea (especially on Windows :-). Anyway, if you do something like:
cvs add -kb somefile.jpg
then CVS will treat it as a binary and this isn't a problem. CVS also
looks in a file called:
CVSROOT/cvswrappers
and if that file has lines such as:
*.jpg -k 'b'
*.JPG -k 'b'
then CVS will automatically treat .jpg-files as binary.
/Christian
--
Christian Ridderstr�m, +46-8-790 91 37 http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Design http://www.md.kth.se