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

Re: Subversion and Macintosh resource fork

From: Frierich Munch <colsebas_at_hotmail.com>
Date: 2005-04-21 07:59:37 CEST

On 4/20/05 5:33 PM, "Wilfredo Sánchez Vega" <wsanchez@wsanchez.net> sneezed:

> On Apr 20, 2005, at 7:22 PM, señior ¿tyrtle? wrote:
>> Coded a more extendable solution that will load/call bundles based
>> on the
>> contents of 'svn:fsmetadata'. Avoids linking Subversion with
>> Carbon as
>> well, at least until its requested.
> Yeah, better solution. You did this already? What's the behavior
> look like?
> I'd expect something akin to svn:keywords where you can enable
> Unix permissions, Mac OS type/creator, and alternate file streams.
> I say alternate file streams, not Mac resource forks, because HFS+
> isn't the only filesystem with that feature and we may want consider
> not being too Mac-specific there. I believe NTFS, the DVD
> filesystem, and NFSv4 all have multiple streams per file.

The behavior is like this:
You enable auto-props, and for each file-type you want to save 'special'
information, you add a list of which special informations. An example from
my config:

*.rsrc = svn:metadata=resource,finder; svn:mime-type=application/rsrc

Then at various points we look at 'svn:metadata' and load up any libraries
we can find with the right names (or no-op if none are found), giving them a
crack at the file (to create props, check if they've changed, and restore
from props)

There is a global option to enable/disable the functionality as well. It
wouldn't be so hard to add functionalty to choose sets based on the
file-system the file resides on...but it was beyond what I needed so I

>> Without breaking any NDA's...does 10.4 ship with subversion binaries?
> Ask me in 9 days. :-)

I will...only because my machine can't run it.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 20 18:47:16 2005

This is an archived mail posted to the Subversion Dev mailing list.