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

Re: application mime types and auto-props on moves

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Thu, 08 May 2008 12:18:07 -0400

Jim Sheldon wrote:
> However, subversion treats
> anything with application/* as a mime type as a binary file. Is there
> any way to override this behavior?

No. There was a long discussion on dev@, but nothing every became of
it, due to lack of agreement on design if I recall. Pick a textual
mime-type and it will work as you want it to.

> We also realized that when performing an 'svn move' on a file, the
> auto-props magic doesn't occur. Since subversion is essentially doing
> a 'delete' and an 'add', shouldn't this be able to handle automatic
> setting of properties like any 'add' or 'import'?

No, 'svn move' is delete and add-with-history, so the auto-props never
kick in (nor would you want them to). Subversion has to copy the old
object completely or it would defeat the purpose of add-with-history.


To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-08 18:18:29 CEST

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.