You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Brian W. Fitzpatrick" <fi...@collab.net> on 2005/04/07 17:02:03 UTC
Re: Subversion and Macintosh resource fork
On Apr 8, 2005, at 12:05 AM, Frierich Munch wrote:
> After 80+ commits on a project I realized Subversion was completely
> ignoring
> the Macintosh resource fork. Couldn't find much/any information on the
> problem, so I wrote some code that automatically translates the
> resources
> to Subversion properties.
>
> Works pretty nice if I may say so...
>
> Where would one go to get others to test [st/sc]alibility?
>
> Where would one go to submit or start/create a branch?
>
> It might actually be of benefit to any filesystem that contains
> meta-data
> the user also wants to version (all the Mac specific stuff is
> localized in
> one module, with 3 hooks (to generated/restore the props when they are
> needed...))
1. Apple's official stance on resource forks is that developers should
move away from using them.
2. Resource forks can be EXTREMELY LARGE, and while Subversion
properties can be extremely large, I believe the recommendation is to
keep them under 64K.
3. You can use Rez and Derez (shipped with Apple's Developer Tools) to
pull the resource forks out of a file and into a separate file (in that
file's data fork) and then put it back in.
4. This feature is completely Apple specific.
Based on 1, 2, 3, and 4 listed above, I'm against adding this
functionality to Subversion.
-Fitz
PS With your address of 'spam@spam.spam', I have little hope of you
getting this email unless you're subscribed to the dev list.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Subversion and Macintosh resource fork
Posted by "Brian W. Fitzpatrick" <fi...@collab.net>.
On Apr 7, 2005, at 1:33 PM, Philip Martin wrote:
> "Brian W. Fitzpatrick" <fi...@collab.net> writes:
>
>> 2. Resource forks can be EXTREMELY LARGE, and while Subversion
>> properties can be extremely large, I believe the recommendation is to
>> keep them under 64K.
>
> I guess that's a DAV restriction? As far as I know nothing else cares
> how big they are.
It's not a restriction--just a recommendation that I recall hearing
(for performance reasons) from someone a few years ago (I think it was
either cmpilato or ghudson, but I don't recall).
-Fitz
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Subversion and Macintosh resource fork
Posted by Ben Reser <be...@reser.org>.
On Thu, Apr 07, 2005 at 07:33:08PM +0100, Philip Martin wrote:
> "Brian W. Fitzpatrick" <fi...@collab.net> writes:
>
> > 2. Resource forks can be EXTREMELY LARGE, and while Subversion
> > properties can be extremely large, I believe the recommendation is to
> > keep them under 64K.
>
> I guess that's a DAV restriction? As far as I know nothing else cares
> how big they are.
>
> One other thing to know about properties is that, unlike the text,
> they don't have checksums and so are more vulnerable to corruption.
IIRC.
The properties are stored in a hash at various points in working with
them and the entire hash is stored in memory. Thus properties with
large sizes can be exteremely unfriendly to memory. Also anytime you
ask for a single property we read in the entire set of properties into
the hash.
I'm pretty sure that's why we discourage people from using large
properties. They will work, but you're paying a huge performance cost.
--
Ben Reser <be...@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Subversion and Macintosh resource fork
Posted by Philip Martin <ph...@codematters.co.uk>.
"Brian W. Fitzpatrick" <fi...@collab.net> writes:
> 2. Resource forks can be EXTREMELY LARGE, and while Subversion
> properties can be extremely large, I believe the recommendation is to
> keep them under 64K.
I guess that's a DAV restriction? As far as I know nothing else cares
how big they are.
One other thing to know about properties is that, unlike the text,
they don't have checksums and so are more vulnerable to corruption.
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org