SVN?

View: New views
2 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Parent Message unknown Re: Subversion and Mac specific things

by Joerg Bullmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Alastair,

If you are investigating resource fork handling options, please have a look at what I have done here a little while ago:

http://www.heilancoo.net/MacCVSClient/MacCVSClientDoc/rbl-spec.html

This has worked really quite well in the MacCVSClient context. With it we were
able to merge resource files on a RESOURCE/INDEX basis. As good as it gets unless you have detailed knowledge of structure of the actual content of a resource.

So I wonder whether it is something you might find useful.

Cheers,
Joerg


On Wed, July 18, 2007 11:54 pm, Alastair Houghton <alastair@...> said:

> On 18 Jul 2007, at 21:54, Gregory Gerard wrote:
>
>> What about adding a property per resource item? mac:rsrc-<hex
>> encoded resource type>-<hex encoded resource number>
>
> I wouldn't be inclined to use it that way, especially if (as you
> imply) these can go up to 16MB in size (which fits the description
> "very large", I think).  It sounds like exactly the kind of thing
> that the authors of Subversion weren't expecting people to use
> properties for
>
> Probably the best thing to do would be to use AppleDouble (i.e. "._"
> files) for the resource fork, because that would also mean that if
> you checked code out on e.g. Linux or Windows, the resource forks
> would stay with the files.
>
> Of course, we also need to see if the Subversion people are doing any
> work on this front.
>
> Kind regards,
>
> Alastair.
>
> --
> http://alastairs-place.net
>
>
>
>
> _______________________________________________
> MacOSX-dev mailing list
> MacOSX-dev@...
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
>


_______________________________________________
MacOSX-dev mailing list
MacOSX-dev@...
http://www.omnigroup.com/mailman/listinfo/macosx-dev

Parent Message unknown Re: Subversion and Mac specific things

by Alastair Houghton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 19 Jul 2007, at 01:57, Gregory Gerard wrote:

> Oh, the whole resource fork is limited to 16mb. My recollection is  
> that the max size per resource entry is 32k or 64k.

Reading through the Subversion dev list, it seems that the fact that  
the entire fork could be 16MB in size means it's too large to  
sensibly store in properties even if split up.  Apparently *all* the  
properties for a file are loaded into memory if you ask for a single  
property...

Kind regards,

Alastair.

--
http://alastairs-place.net


_______________________________________________
MacOSX-dev mailing list
MacOSX-dev@...
http://www.omnigroup.com/mailman/listinfo/macosx-dev
< Prev | 1 - 2 | Next >