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

Re: eol-style

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-05-26 20:07:36 CEST

On May 26, 2005, at 12:11 PM, Dale Worley wrote:

>> From: Marc Sherman [mailto:msherman@projectile.ca]
>>
>> Could this happen if the file is initially added to the repo with no
>> eol-style property, and then the eol-style is subsequently
>> added using an URL on the svn propset command?
>>
>
> That seems possible. It might even be an error situation, if there
> is a
> rule that the contents of files in the repository with eol-style
> must have
> normalized EOLs.
>

Yes, that is exactly the case. If svn:eol-style=native, then
Subversion assumes that file is stored with all LF line-endings in
the repository. The client then changes line-endings in the working-
copy file if necessary.

I seem to recall an old bug in cvs2svn whereby it automatically sets
svn:eol-style=native on all files without the RCS '-kb' flags, but
then failed normalize the file to LF. Perhaps you were using an old
version of cvs2svn?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 26 20:10:26 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.