I am just installed CVS 1.10 "Halibut" in Windows NT 4.0.  I downloaded the
binary distribution from cyclic.

This is the first time I have used CVS, and am having a problem
understanding how to put binary files into CVS.  My directories have binary
files named *.cat.

I have edited the CVSROOT\cvswrappers file to read:

*.gif -k 'b'
*.exe -k 'b'
*.np* -k 'b'
*.cat -k 'b'
*.zip -k 'b'

I edited this file directly, without checking out or committing it using
CVS.

Now I import a directory that includes a mix of ASCII and binary files.
Some of the binary files are being damaged as they are placed in the
repository -- the files have at least been truncated and perhaps otherwise
altered.  When I then check out the files, the are exactly as they are in
the repository -- damaged.

I was able to "fix" the problem using cvs admin, cvs update, and recomitting
the files.  However, I thought the purpose of cvswrappers was to change CVS'
default behavior so that I didn't have to fix the files afterwards?

How should I be handling directories with a mix of binary and text files?

Thanks.

Guy Scharf

Reply via email to