[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 22:50:22 CEST

"Sacerdoti, Federico" <Federico.Sacerdoti@deshaw.com> wrote on 09/23/2005
04:41:22 PM:

> Thanks to those that responded so quickly to my question.
> I am concerned that the default setup is to mangle EOL characters.
> I compiled svn from subversion-1.2.3-1.tar.gz using an RPM spec file
> based on the one from David Summers. I used the cvs2svn utility to
> construct the initial repository. That is it. The rest is a default SVN
> setup, I did not add any "auto-props" that I know of.

The cvs2svn info could be the relevant bit. The config file you have
attached shows that you do NOT have auto props turned on.

If these RPM's were put into the repository by cvs2svn then that is likely
the culprit. I have seen messages to that effect before on their mailing

Your original message said you were using svn import on new code, however,
so we should get clarification before we point fingers anywhere.

Also, it would be worth running the svn proplist command on these RPM's to
see if they even have the svn:eol-style property set on them or not.

By default, Subversion does not touch any file in any way. The only way
it ever alters a file is if you set the svn:eol-style and/or svn:keywords
property on the file. Then, you are explicitly telling Subversion to
touch the file.

Subversion has an auto-props feature, off by default, which can
automatically set properties like this on files as they are added or

If these files came into your repository via cvs2svn then you should
consult their mailing list. I know this has come up before.


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 22:52:11 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.