[Top][All Lists]

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

Re: CTRL-M and CTRL-J characters in files

From: prolist
Subject: Re: CTRL-M and CTRL-J characters in files
Date: Thu, 25 Mar 2004 01:13:50 +0530

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


----- Original Message -----
From: "Steve deRosier" <address@hidden>
To: "prolist" <address@hidden>
Cc: <address@hidden>
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
> > 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
> > and moreover how can I get rid of this automatically while checking-in
> > checking-out fiiles.
> >
> > There is a settings in WinCVS preferences Global tab which has a
> > "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
> > address@hidden
> >

reply via email to

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