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

Re: svn corrupts binary files on import

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-09-23 21:14:10 CEST

"Sacerdoti, Federico" <Federico.Sacerdoti@deshaw.com> wrote on 09/23/2005
02:52:31 PM:

> I have seen this happen a few times. I have just started using SVN, so I
> may be doing something wrong. Steps to recreate:
> 1. svn import mydir/, where there is a non-text file "mybin" somewhere
> under mydir
> 2. checkout mydir to some other location.
> 3. inspect "mybin". It is not good.
> Attached is an example of an rpm that was mangled in this way. SVN
> cannot even tell the difference between a good version and the bad one.

Should you really be sending over 600 kb of attachement to a highly
trafficed mailing list?

Subversion doesn't touch the contents of files by default. It sounds like
you might have an auto-prop that is setting svn:eol-style=native on all

You probably should have an auto-prop that is adding
svn:mime-type=application/octet-stream to RPM's.


Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 23 21:17:00 2005

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.