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

Re: Commit Fails After Changing EOL Style?

From: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-06-12 12:46:09 CEST

On Jun 12, 2006, at 01:24, a178235 wrote:

> If I checkout files from the SVN repository that have the eol-style
> property set to native using Windows, then edit one of the files
> changing the EOL from CRLF to LF, and then commit the files, will
> the commit fail?

Why don't you try it and see what happens?

It should "just work": Subversion should normalise the linefeeds to
the format you indicate in svn:eol-style.

If it doesn't work for you, please show us the command you executed
and the error message you got.

I believe the only time when Subversion complains regarding the
svn:eol-style property is when the file contains more than one kind
of EOL style -- for example, most of the file uses Unix linefeeds,
but some lines are separated with DOS linefeeds. In this case,
Subversion will balk and you'll have to make the file have consistent
linefeeds first. We get this occasionally when some of our developers
have forgotten to set some important settings properly in UltraEdit.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 12 12:47:39 2006

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.