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

RE: "svn add" failing with "svn: E200009: Can't set 'svn:eol-style': ... has binary mime type property" and/or inconsistent newlines

From: Andrew Reedick <Andrew.Reedick_at_cbeyond.net>
Date: Tue, 9 Jul 2013 14:33:31 -0400

> -----Original Message-----
> From: Daniel Shahaf [mailto:d.s_at_daniel.shahaf.name]
> Sent: Tuesday, July 09, 2013 2:00 PM
> To: Andrew Reedick
> Cc: users_at_subversion.apache.org
> Subject: Re: "svn add" failing with "svn: E200009: Can't set 'svn:eol-
> style': ... has binary mime type property" and/or inconsistent newlines
>
> Andrew Reedick wrote on Tue, Jul 09, 2013 at 13:40:53 -0400:
> > However 'svn add --no-auto-props' does allow the add to work, but
> that's a bit drastic and inconvenient.
> >
> > That fact that 'svn add' fails on different files is really throwing
> > me for a loop. I'm beginning to wonder if Something(tm) is borked
> > with my workstation (anti-virus, some left-over DLL in the path,
> etc.)
>
> Most likely you have an [auto-props] setting somewhere that's getting
> picked up.

Bingo. "Somewhere" was the operative word. The Collabnet config file was being read from my roaming profile instead of from my windows home dir. The roaming copy of config had "* = svn:eol-style=LF", and that auto-prop seems to have been causing the breakage. ("global-ignores = *.* *" is a great way to narrow down what config file is being read.)

And the reason why 'svn add' was failing on different files is because 'svn add' walks the directory tree in a different order each time.

Thanks for the help! Now I must find a wall to quietly beat my head against.
Received on 2013-07-09 20:34:57 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.