[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: Jim Sheldon <jim.sheldon_at_gmail.com>
Date: Thu, 8 May 2008 13:13:46 -0400

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

I appreciate the perspective on this. Now I have a better
understanding of the rationale behind the functionality.

---------------------------------------------------------------------
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 19:14:10 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.