[Logo] JCVSForum - Community Support For JCVS Users and Developers
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Why PNG pictures are damaged?  XML
Forum Index » JCVS Users
Author Message
Anonymous



Hi

I use jCVS II Version 5.4.2.

Why after made checkout from SSH server cvs.mandrakesoft.com/cooker; module
doc/manualB/images, all PNG pictures are damaged?

After shorty investigation:
byte 0A is replaced by 0D0A.

When I download these pictures using Mozilla by WebCVS site all is OK.

regards
Pawel (POLAND)
Anonymous



use option -kb
time


[Avatar]

Joined: 05/06/2004 18:09:23
Messages: 367
Location: Bangkok
Offline

Yes. Let me elaborate. The -kb option tells CVS that the file being managed is
"binary" and should not be "adjusted" for different platforms. If this flag is
not checked. then files will have line termination translation performed, which
will definitely mess up PNG and other image files.

Most importantly, this option MUST be included when the files are checked in for
the first time. Once they are checked in without this flag, fixing the flag will
not correct the damaged file on the server. If you checked in a binary file
without this option, I recommend deleting it from the repository and checking in
again.
[Email] [WWW]
 
Forum Index » JCVS Users
Go to:   
Powered by JForum 2.1.9 © JForum Team