Re: resource forks and cvs?
Re: resource forks and cvs?
- Subject: Re: resource forks and cvs?
- From: Randall Crenshaw <email@hidden>
- Date: Wed, 25 Sep 2002 05:55:42 -0700 (PDT)
--- Tomas Zahradnicky <email@hidden> wrote:
>
>any info on how to preserve resource forks across cvs
>
>import/check-out's. Is it a standard cvswrapper entry?
>
>The file had no extension to check against.
>
>
Use /Developer/Tools/DeRez. This will make .r source file
>
from .rsrc.
>
Then use /Developer/Tools/Rez to compile .r back into
>
.rsrc.
>
Tomas,
Thank you for your reply. I have seen these tools. Is
there a shell test I can use to determine if a file has a
resource fork? Although it seems somewhat heavy-handed, it
appears I have to pass **all** files through a cvs wrapper
to (a) check if it has an rFork and (b) if so, use
DeRez/Rez - while (c) making sure that the DeRez'ed file is
treated as a binary by cvs.
So,
#!/bin/sh
if( -e $1/rsrc )
/Developer/Tools/DeRez $1 -o $1_deRez
# somehow get cvs to use this derez'ed version...
OTOH, perhaps I should just recursively descend the
project's folders doing this en masse before importing and
then use Rez during the build cycle?
Again, my sincere thanks,
Randy
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.