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

Re: What do you Hate about Subversion?

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-01-18 23:32:15 CET

On Jan 18, 2007, at 15:53, Jeff Smith wrote:

> On Thursday 18 January 2007 09:01, B. Smith-Mannschott wrote:
>> Errors because "inconsistent line endings" on properties.
>
> Hey I've got a huge problem like this, but within text (source) files.
> Subversion is so smart to take "*.c,*.h,Makefile" (etc.), make sure
> they are text by examining things including line end styles, and then
> set properties with auto-props.
> Agrivatingly, it stops the 'add' of 1000 files just because it hits
> one .c with inconsistent EOL styles (mixed "/n", "/r/n"). Heck, all I
> want to do is tell the stupid thing to ignore that, but there's no
> way except I manually find and edit the 10 out of the 1000 before
> adding!
>
> It's making it impossible to handle vendor releases of FreeRTOS.

That is aggravating, but it is really a problem that should then be
fixed by the FreeRTOS folks. Files with mixed line ending styles are
difficult to deal with. They should not be providing such files.

You can work around the problem by batch-processing all *.c files,
for example, with a tool such as dos2ux, which would convert any DOS
line endings to Unix line endings. Then you can check it in to
Subversion.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 18 23:32:46 2007

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.