[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: Stephen Davis <subversion_at_soundgeek.org>
Date: 2006-05-22 20:03:58 CEST

In Terminal:

/Developer/Tools/ResMerger -srcIs RSRC -dstIs DF input.rsrc -o
output.rsrc

hth,
stephen

On May 21, 2006, at 7:55 PM, Richard Stephens wrote:

> Hey,
> could you please give me some more details about what exactly "date
> fork resource files" are, and how i use them? How do I seperate
> one from a file with a resource fork?
>
> Thanks
> -Richard
>
> On 22/05/2006, at 1:44 AM, Dave Camp wrote:
>
>> You are not supposed to directly access the ._ files as Mac OS X
>> expects it's the only one that will be touching them, especially
>> on 10.4. If you try to manage them yourself you will have problems
>> like you have discovered.
>>
>> Your best bet is to move all of your resource fork resource files
>> to data fork resource files. That will involve some minor changes
>> to your projects, but it should be a one time change and it will
>> allow you to use source control on your source tree.
>>
>> Dave
>>
>> On May 18, 2006, at 11:00 PM, Richard Stephens wrote:
>>
>>> Hey all
>>>
>>> I'm trying to set up subversion to do source control, and the
>>> files we're using have resource forks, which are not checked in
>>> by subversion.
>>>
>>> I found that if I created a read/write UFS disk image, and copied
>>> the source to there, it could be checked in and the resource fork
>>> would be maintained in the form of a file with the same name but
>>> with "._" before it.
>>>
>>> Only problem is, when i try to check them out, it fails on
>>> seemingly random files. It's always the "._" files, and they
>>> check out fine on a windows machine.
>>>
>>> In an attempt to isolate the problem, I pulled out a few small
>>> files that cause it to fail from the main source tree, and
>>> checked them in. When I checked them out again, it failed.
>>> Renaming them by putting a 2 at the end makes it checkout
>>> properly but this is not a satisfactory solution.
>>>
>>> This is what happens on the terminal:
>>>
>>> imac-intel-2ghz:/Volumes/Untitled 1 Richard$ /usr/local/bin/svn
>>> checkout svn://192.168.51.3/gworldstest wd/
>>> A wd/._QuickTime Work
>>> A wd/QuickTime Work
>>> A wd/QuickTime Work/._Gestalt
>>> A wd/QuickTime Work/GWorlds
>>> A wd/QuickTime Work/Gestalt
>>> A wd/QuickTime Work/._GWorlds
>>> svn: In directory 'wd/QuickTime Work'
>>> svn: Can't copy 'wd/QuickTime Work/.svn/tmp/text-
>>> base/._GWorlds.svn-base' to 'wd/QuickTime Work/._GWorlds.tmp': No
>>> such file or directory
>>> imac-intel-2ghz:/Volumes/Untitled 1 Richard$
>>>
>>> Gestalt was included because i wanted to use a file which I know
>>> did not fail.
>>>
>>> Any idea? Thanks in advance
>>>
>>> -Richard
>>>
>>> --------------------------------------------------------------------
>>> -
>>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>>> For additional commands, e-mail: users-help@subversion.tigris.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 22 20:05:12 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.