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

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

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-02-19 20:26:33 CET

Bern McCarty <Bern.McCarty@bentley.com> writes:

> 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?

No. 'svnadmin load' doesn't modify the data it is given, period.

> Part of the reason I ask is because I see that the svn:mime-type property
> can effect subversion operation regarding EOL handling.

Actually, this is just a bug in cvs2svn. That program needs to notice
the "b" flag in RCS files and set the svn:mime-type to
application/x-octet-stream. This is part of Issue #1286.

Actually, that has me thinking. If a file in CVS isn't binary, aren't
its newlines treated as "native"? Might cvs2svn want to set that
property for non-binary files (of course, only after it learns to
recognize binary files)?

---------------------------------------------------------------------
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:27:28 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.