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

Re: SVN client 1.5.0 trouble on Windows

From: <svnlgo_at_mobsol.be>
Date: Wed, 9 Jul 2008 16:38:53 +0200

Quoting Robert Riebisch <rr_at_bttr-software.de>:

> Hi all!
>
> I'm an SVN newbie and only use the client part to export sources from
> some repositories. I'm running
> <http://subversion.tigris.org/files/documents/15/43074/svn-win32-1.5.0.zip>
> on Windows 2000 SP4.
>
> Whenever I export sources all files have CRLF line endings, but I need
> LF endings for a specific file. I already changed
> "%APPDATA%\Subversion\config" file to activate "enable-auto-props" and
> added "foo.dat = svn:eol-style=LF" to the "auto-props" section, but it
> doesn't make any difference. Still CRLF.

Auto props will make svn add that svn:eol-style property to newly added files.
For existing files, you'll have to add the property manually:

c:\> svn propset "svn:eol-style" "LF" foo.dat
c:\> svn commit foo.dat -m "Add eolstyle property."

Note that this property does not only work for you, but for all other people
exporting/checking out that particular file.

More info in the book:
http://svnbook.red-bean.com/nightly/en/svn.advanced.props.file-portability.html#svn.advanced.props.special.eol-style

hth,

Lieven

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-09 16:39:27 CEST

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.