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