Hi Travis,
The same problem exists for CVS, but Subversion is supposed to be
better than CVS :-) Resource forks are still here, and while they
exist, it means any SCM is still going to feel like a 'second citizen'
on the Mac.
There might be a temporary solution based around developer tools such
as 'Rez' or the standard OS X tool 'ditto' and SVN properties. Ditto
is a tool to copy files and directories. It can also archive a
file/directory.
Man ditto reveals:
<snip>
...
Preserve resource forks and HFS meta-data. ditto will store this
data in Carbon-compatible ._ AppleDouble files on
filesystems that
do not natively support resource forks.
...
--sequesterRsrc
ditto will preserve resource forks and HFS meta-data in the
direc-
tory __MACOSX within PKZip archives.
<snip>
Is it possible, (hook scripts?), to:
1. set a property on a file with known resource fork, or a directory
2. on commit, treat file as a binary file, but instead of copying it
into Subversion, run a script which will use ditto to archive the file
into a PKZip archive, with a __MACOSX directory in the archive
containing resource forks and HFS meta-data. The ZIP file is stored in
the database.
3. on checkout, the ZIP file is extracted, the property kicks off a
script, which uses ditto to unzip the file and restore resource forks
and meta-data.
I realise the above sounds very 'cvswrappers'ish, and doesn't discuss
preserving/handling meta-data on other UNIXes and Windows systems.
Still, I would love if Subversion could come up with a solution, even
if not perfect, as it would be a huge win for Mac developers.
--Simon
On 12 Aug 2004, at 16:23, Travis P wrote:
>
> On Aug 12, 2004, at 8:49 AM, ruffnex wrote:
>
>> With XCode 1.5 supporting Subversion, I imagine a lot more Mac users
>> are going to be asking this question...
>> What is the status of handling files with resource forks on Mac OS X?
>> Are there any temporary solutions?
>
> How was it handled for CVS? Unless a special CVS was supplied that
> recognized resource forks, XCode with Subversion shouldn't be any
> better or worse than the status quo of XCode with CVS in that respect.
>
> -Travis
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 12 19:46:23 2004