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: Seema Agarwal
Subject: Re: changing files from binary mode
Date: Thu, 20 Nov 2003 16:51:57 +0000

Thanks for your response.
I know that redoing is a solution but I was just exploring any other way out (like there is one for changing to bin mode for a file in the repository).

BTW this kind of an import creates problem only on HP-UX not Linux.

Seema.

----Original Message Follows----
From: lawrence.jones@eds.com (Larry Jones)
To: sxgupta@hotmail.com (Seema Agarwal)
CC: bug-cvs@gnu.org
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

_________________________________________________________________
BharatMatrimony.com. http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 India's premium matrimonial website.





reply via email to

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