You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by d <ds...@gmail.com> on 2010/11/12 15:57:05 UTC
mime/confusing checkout error
Odd issues after converting to subversion.
Binary files that have only one revision seem to be giving us
checkin/checkout problems. I can use Tortoise SVN to "Open" the files, and
they display fine. I can "save as" from the web front end, and the files
are fine.
however, when I check the files out, they are broken, corrupted, or give
"inconsistent line ending style" (tortoise).
What is even weirder is that I can check out the broken files, save a good
version over the top of the broke files, commit the non-broken version, and
it still ends up broken when I try to check out again.
I've tried manually setting the mimetype properties, and that hasnt worked.
i'm basically at a loss on how I can make these "right". Any suggestions on
things I can check?
tia,
d
Re: mime/confusing checkout error
Posted by d <ds...@gmail.com>.
On Fri, Nov 12, 2010 at 12:21 PM, Ryan Schmidt <
subversion-2010d@ryandesign.com> wrote:
>
> On Nov 12, 2010, at 09:57, d wrote:
>
> > Binary files that have only one revision seem to be giving us
> checkin/checkout problems. I can use Tortoise SVN to "Open" the files, and
> they display fine. I can "save as" from the web front end, and the files
> are fine.
> >
> > however, when I check the files out, they are broken, corrupted, or give
> "inconsistent line ending style" (tortoise).
>
> If they're binary, there shouldn't be anything looking at their line ending
> style. Line ending style is a concept applicable only to text files. I
> suspect you have asked Subversion to corrupt these files by setting the
> "svn:eol-style" property to some value on these files. So you should delete
> that property from these files, then replace them with good copies of the
> files. Don't set svn:eol-style on binary files.
>
>
Thanks so much Ryan. Removing the svn:eol-style prop and reseeding the
files worked great.
Re: mime/confusing checkout error
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Nov 12, 2010, at 09:57, d wrote:
> Binary files that have only one revision seem to be giving us checkin/checkout problems. I can use Tortoise SVN to "Open" the files, and they display fine. I can "save as" from the web front end, and the files are fine.
>
> however, when I check the files out, they are broken, corrupted, or give "inconsistent line ending style" (tortoise).
If they're binary, there shouldn't be anything looking at their line ending style. Line ending style is a concept applicable only to text files. I suspect you have asked Subversion to corrupt these files by setting the "svn:eol-style" property to some value on these files. So you should delete that property from these files, then replace them with good copies of the files. Don't set svn:eol-style on binary files.