The line ending "conversion" happens with every (relevant) command that cvs does. Checkouts, commits, updates, exports, etc. Different OSes use different line endings on text files. CVS deals with text files, and so handles this very nicely. (but, see the earlier comment about the -kb flags)

- Steve


prolist wrote:
But, isn't that option only about "checkouts", what about check-ins???? I
can't locate any poption specific to that.

Thanks!!!

----- Original Message -----
From: "Steve deRosier" <[EMAIL PROTECTED]>
To: "prolist" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, March 25, 2004 1:01 AM
Subject: Re: CTRL-M and CTRL-J characters in files



The CVS client automatically handles the differences between Windows and

UNIX line endings by converting the files when you do the checkout or update (or commit, or...). So, as unintuitive as it sounds, uncheck this option. Then you'll get the Windows line endings without those being imported into the repository. To cleanup your current problem, I'd sugest have your Linux guys check out the files, run them through dos2unix until the files are cleaned up, check them in, and then you need to do an update or checkout without that box checked.

- Steve

prolist wrote:

I uses Windows 2000 machine and use Jcreator LE for my Java code. When I

am


adding files to CVS using WinCVS client, somehow other memebers of team
using Linux machines are getting ^M^J in their files. Why is it

happening


and moreover how can I get rid of this automatically while checking-in

and


checking-out fiiles.

There is a settings in WinCVS preferences Global tab which has a

checkbox


"Checkout text files with the Unix LF (0xa)" and I already have this
checkbox checked.

What should I do to avoid this problem?

Thanks!!!




_______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs




_______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs



_______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to