[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: line-ending conversion and keyword substitution

From: Bruce Atherton <bruce_at_callenish.com>
Date: 2001-12-13 17:46:24 CET

At 12:17 AM 12/13/2001 -0500, Greg Hudson wrote:
>Fine. Linus creates the file, with the "VEC\n" contents, William checks
>it out, getting "VEC\r\n", the graphics program doesn't bomb on it, he
>makes the engine design, checks it in, and loses his data.

Ahh, but William gets the same file with your proposal as well. As I've
said, if you go to multiple platforms without setting the property
correctly, both proposals will corrupt the file. They just do so in
different ways.

>There are special files which want to use CRLF endings even when you check
>them out on Unix, because they only get used by Windows tools which
>require CRLF. (Why are they being used on Windows if they're being
>checked out on Unix? Because we make tarballs out of Unix checkouts.)

Right. But if you don't want the files to have their line endings
converted, set the line-ending-style to "none". No need to specify what
specific line endings are actually in the file.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:52 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.