gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] windows/linux interop status - line endings?


From: John Arbash Meinel
Subject: Re: [Gnu-arch-users] windows/linux interop status - line endings?
Date: Sat, 26 Mar 2005 11:45:53 -0600
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

Robert Anderson wrote:


It appears there are several different attempts at win32 support.
There is a "native win32" package mentioned on the wiki.  I think
there are at least a couple of cygwin ports.

My question is:  do any of these allow trees to be checked
out/committed on both win32 and linux machines, without causing too
many line ending headaches in basic usage?  Is anyone doing this and
can verify or recommend which of the win32 ports to prefer for this
mode of use?

Thanks,
Bob

I'm not sure about Lode's cygwin port, but the rest of the ports don't
change line endings. So if you checked them in CRLF, then they are
checked out the same way.

I know Lode was interested in having the checkout be CRLF on win32, and
LF on linux (with LF always in the repository.)
However, others (such as myself) have frequently been bit by CVS trying
to do this, and *don't* want this behavior. I *like* that tla doesn't
try and guess what line endings I want, it just gives me back the ones I
gave it. That lets me use CRLF for files that require it (visual studio
.vcproj for instance), and not for the rest. It also means that if I
copy a set of files from a linux machine and check them into a windows
machine (or vice versa) the line endings don't get all messed up.

I haven't played with Lode's latest cygwin for 1.3.1 very much, so I
can't say what it is doing. My tla-short-path doesn't change line endings.

John
=:->

PS> Lode: when I did a quick download of your 1.3.1, I found that it
didn't shorten *any* paths inside {arch}.  I will play with it more and
see if I did something wrong, but that was my first observation.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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