[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: Philippe Andersson <pan_at_iba-group.com>
Date: Wed, 09 Jul 2008 15:32:53 +0200

Robert Riebisch wrote:
> 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.
>
> What am I doing wrong? Or is it a bug?
I believe that these auto-props will be set only when you add a new file
in the repository. They won't affect existing files, and certainly not
in the context of an export. If the file "foo.dat" has CRLF line endings
in the repository, I think that your only option is to simply convert it
to "LF" line endings locally post export. A utility such as "recode"
will do the trick, but I don't know whether it's available natively for
Windows.

HTH

Cheers. Bye.

Ph. A.

-- 
*Philippe Andersson*
Unix System Administrator
IBA Particle Therapy |
Tel: +32-10-475.983
Fax: +32-10-487.707
eMail: pan_at_iba-group.com
<http://www.iba-worldwide.com>
The contents of this e-mail message and any attachments are intended solely for 
the recipient (s) named above. This communication is intended to be and to 
remain confidential and may be protected by intellectual property rights. Any 
use of the information contained herein (including but not limited to, total or 
partial reproduction, communication or distribution of any form) by persons 
other than the designated recipient(s) is prohibited. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. E-mail transmission cannot be guaranteed to be 
secure or error-free. Ion Beam Applications does not accept liability for any 
such errors. Thank you for your cooperation.


Received on 2008-07-09 15:33:20 CEST

This is an archived mail posted to the Subversion Users mailing list.