bug-cvs
[Top][All Lists]
Advanced

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

Re: changing files from binary mode


From: Larry Jones
Subject: Re: changing files from binary mode
Date: Thu, 20 Nov 2003 11:06:18 -0500 (EST)

Seema Agarwal writes:
> 
> I had "imported" a new CVS tree with the "-kb" option so as to retain the 
> binary files. The tree has a combination of object files : .o,.so,.sl & code 
> files: .cpp,.hpp.java etc.

Bad move -- you need to import just the binary files in binary mode, the
text files should be imported in text mode.  You can use the -W option
on the import command to specify what files should be treated as binary,
but you should also consider why you're trying to store object code and
libraries in a source control system.  For more details, see:

        <http://www.cvshome.org/docs/manual/cvs-1.11.7/cvs_9.html#SEC80>
        <http://www.cvshome.org/docs/manual/cvs-1.11.7/cvs_18.html#SEC164>

> CVS installtion is on Linux m.c and this is accessed from Windows,Linux & 
> HPUX.
> I find that on checking out on HP-UX all code files have "controlM" (^M) 
> chars in it. How do I clean up the CVS mess ? This tree has branches int he 
> same messy state.

Redo the import correctly.

-Larry Jones

What's Santa's definition?  How good do you have to be to qualify as good?
-- Calvin




reply via email to

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