info-cvs
[Top][All Lists]
Advanced

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

Re: CVS problems


From: Wade Williams
Subject: Re: CVS problems
Date: Tue, 18 Jun 2002 23:39:51 -0500

On Tuesday, June 18, 2002, at 08:00 PM, Dukudi wrote:

The second problem is that cvs seems to be doubling
line endings on some text files and this is creating
compilation problems.


Files have to be stored in the repository correctly or you'll get this behavior.

I suspect you've somehow gotten files into the repository with Macintosh line endings and when you check them out with your GUI, it doubles the line endings.

This can happen easily using the command-line client on OS X. When you do so, because the command-line client is a Unix program, it assumes that the native file format is Unix. Since it's a Unix client going into a Unix repository, it performs no line feed conversion. Therefore, if you added a file with Mac line endings (CR only), they'll get stored in the repository that way.

Make sure your development system and any text editors you use default to Unix line endings if you're going to use the command-line client at all.

The third one is the import command not working even
on the command line. If I want to import a new
project, I have to do it from the server machine,
which does not seem right.


There's no reason for that. I use import all the time and it works. Are you sure your import command is correct?

Wade




reply via email to

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