[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: Bern McCarty <Bern.McCarty_at_bentley.com>
Date: 2004-02-20 16:15:37 CET

I'm trying to understand whether this is an inconvenience or whether it is a
show stopper. Can someone explain what actions could cause their binary
files to become damaged because they were not properly identified as binary
via svn:mime-type? Would corruption only be possible when two clients
modified the same binary as in:

Clients 1 and 2 get working copies. Client 1 modifies a binary working
copy. Client 2 modifies the same binary in his working copy. Client 1
checks in his change. Client 2 does an update and instead of getting a
conflict may get a "merged" binary. When client 2 checks in his change, he
checks in a corrupted file.

If you've left EOL normalization off completely, is this the only scenario
where the binaries could be corrupted by not identifying them as binary by
setting svn:mime-type appropriately? Or is it worse than that....

-Bern

-----Original Message-----
From: haller@ableton.com [mailto:haller@ableton.com]
Sent: Friday, February 20, 2004 2:55 AM
To: users@subversion.tigris.org
Subject: Re: How to get desired mime-types set for files during CVS to SVN
mig ration.

C. Michael Pilato <cmpilato@collab.net> wrote:

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

This may be dangerous, as Brane mentioned. However, I need a solution for
this problem; this is one of the things that still prevents me from
switching to svn. (I mean both of them: setting eol-style to native for
text files, and setting mime-type appropriately for binary files.)

I wonder if cvs2svn can be made to recognize my auto-props configuration?
(optionally perhaps?) That would be ideal, I think.

--
Stefan Haller
Ableton
http://www.ableton.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 20 16:16:01 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.