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

How to get desired mime-types set for files during CVS to SVN mig ration.

From: Bern McCarty <Bern.McCarty_at_bentley.com>
Date: 2004-02-19 20:16:54 CET

Does "svnadmin load" observe the autoprop configuration just like add and
import supposedly do? If not, how do you use cvs2svn.py and svnadmin load
to get your brand new repository off on the right foot with the desired
mime-types set on your files?

Part of the reason I ask is because I see that the svn:mime-type property
can effect subversion operation regarding EOL handling. Is it vital that I
set svn:mime-type on binary files myself somehow while migrating a
repository? I ask because the docs say that in the absence of a
svn:mime-type property then the file is assumed to be text. I migrated a
repository with cvs2svn followed by svnadmin load and found that there was
no svn:mime-type property on my binary files. In particular I checked a .lib
file and there was no svn:mime-type property on it. According to the doc,
Subversion will thus assume that this file is text and will thus attempt to
do contextual merges on it.

Bern McCarty
Bentley Systems, Inc.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 19 20:17:17 2004

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.