From: Stins, D. <DR...@Zi...> - 2004-03-14 10:09:47
|
BlankDear all, Please add binary files to cvs conform the instructions below. with best regards, Dick Stins CVS will expand on each commit to include the revision number. For exampl= e, it might get expanded to: $Revision: 1.3 $ CVS will keep that string up to date as the file is developed. (The vario= us keyword strings are documented in Chapters 4 and 11.) This string expansion is a very useful feature in text files, because it allows you to see the revision number or other information about a file while you=92re editing it. But w= hat if the file is a JPEG image (with a .JPG extension)? Or a compiled executable program? In those kinds= of files, CVS could do some serious damage if it blundered around expanding any keyword string t= hat it encountered. In a binary, such strings can even appear by coincidence. Therefore, when you add a binary file, you have to tell CVS to turn off b= oth keyword expansion and line-ending conversion. To do so, use -kb: yarkon$ cvs add -kb filename yarkon$ cvs ci -m "added blah" filename |