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

Re: eol-style property

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2005-12-28 13:48:47 CET

On 12/27/2005 10:51 AM, Ilja Golshtein wrote:
> Hello!
>
> I have a pretty large SVN repository.
> It was used by Unix users only till recently
> and I faced with CR/LF problem.
>
> Is it possible to set eol-style property inside repository
> and avoid checkout-set-commit circle?
>
> Is it a problem if I merge changes from branch
> where eol-style is not set to trunk where it is set?

Ryan answered your questions, but I'd advise against using the eol-style
property if you can. You will likely run into problems at some point,
e.g. when using a Unix client to check out files but then editing them
using a Windows editor, etc.

I think you get fewer headaches in the long run by just getting your
users used to using Unix-style line endings. Most Windows programming
editors can do this; the only real problem comes with new files, on
which those editors may default to CR-LF. But those will be very
obvious the first time someone checks them out on Unix, and are easy to fix.

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 28 13:51:51 2005

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

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