You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by a178235 <a1...@yahoo.com> on 2006/06/11 23:24:04 UTC
Commit Fails After Changing EOL Style?
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?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: Commit Fails After Changing EOL Style?
Posted by Ryan Schmidt <su...@ryandesign.com>.
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