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

Re: why does SVN get confused about my EOL character?

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-05-03 21:03:37 CEST

On 5/3/07, Richard <legalize@xmission.com> wrote:
> Doesn't SVN handle EOL conversion like CVS does?
>
> I never had this problem in CVS, but since switching to SVN, when I
> commit files on a unix box and load the file on a Windows box, Visual
> Studio complains about inconsistent line endings.
>
> When I add a file on Windows and update on unix, vi shows the file to
> have DOS EOL conventions.
>
> Why isn't SVN handling this properly and what can I do about it?

By default, Subversion doesn't mess with your EOL characters. Set the
svn:eol-style property appropriately on your files based on your
needs. http://svnbook.red-bean.com/en/1.2/svn.advanced.props.html#svn.advanced.props.special.eol-style

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 3 21:04:14 2007

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.