Re: problem with updating binary files
Jeff Cantin <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.javacvs.devel |
|---|---|
| Message-ID | <[email protected]> |
Are you adding the file as binary? Anytime you put a binary file in CVS, it needs to get the '-kb' property. The command would look like: cvs add -kb a.doc Afterwards it is treated by updates, commits, and other commands as a binary file. If you've already added a file as text and want to change it, run this on the file: cvs admin -kb a.doc You'll have to delete the directory that the file is in and re-checkout it, since the 'admin' command doesn't change the local information about the file, only the remote info. Jeff --- Dariusz Drezno <[email protected]> wrote: > Hello, > > I don't know why if I have two or more revisions of binary file, > and I try > update it, my files are shorter. > For instance: > 1. I add file a.doc (revision 1.1, size 19456) > 2. I add new revision of a.doc (revision 1.2, size 19456) > 3. I try update revision 1.2 or revision 1.1 > 4. I get a.doc with size 19448 ! > > Why? Should I add binary files with some special option? > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com