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

Re: checking out mac resource forks

From: B. Smith-Mannschott <benpsm_at_gmail.com>
Date: 2006-05-19 13:32:57 CEST

I suspect, though I can not prove that the problem is this:

(1) In order for the resource fork ._README to exist, the data fork
stored in README must exist, even if it has length zero.

(2) As far as subverison is concerned, ._README and README are just
two separate files. It may, when it's millin garound in its
administrative directories somtimes choose to move or create ._README
before the corresponding README, thus causing the operating system to
complain loudly.

I don't have my mac in front of me right now, but I suspect that

$ touch FOO
$ touch ._FOO

will work on a UFS volume, while

$ touch ._BAR
$ touch BAR

will not. Can someone verify?

there's an alternate notation for accessing resource forks from the
shell in OSX, but it's likely to just confuse svn even more because it
makes it look like FILE is a directory, even though it isn't:

FILE (data fork)
FILE/rsrc (resource fork)

// ben
Received on Fri May 19 13:35:36 2006

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.