info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: binary file ?


From: Larry Jones
Subject: Re: binary file ?
Date: Mon, 31 Mar 2003 17:23:29 -0500 (EST)

Ronald Petty writes:
> 
> I have uploaded some images and pdfs and various other binary data. 
> Everything like (png,jpg etc) all view fine when I use cvs and then view
> the files.  I have not tried to change an image and then commit it yet. 
> Is this why it still is viewing correctly?  Because I haven't screwed it
> up with a new revision?

Some systems distinguish between text and binary file (e.g., Windows)
and some do not (e.g., Unix and Linux).  If your system(s) do not
distinguish between text and binary, you can import, add, checkout, etc.
and all will work provided your files don't contain any strings that
look like RCS keywords.  If any of your systems (i.e., client and
server, if you're using client/server mode) do distinguish between text
and binary, then either you haven't done a fresh checkout that would
show the breakage, or you're incredibly lucky and your binary file(s)
didn't contain any problematic characters.

> I know you could add -kb file and it do something as binary.  But since
> I didn't do that at first am I sol?

Not necessarily.  If a fresh checkout gives you good files, you should
be able to just use admin to change the existing files to binary.

-Larry Jones

I've got an idea for a sit-com called "Father Knows Zilch." -- Calvin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]