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

Re: Mac OS X: Bundles

From: B. W. Fitzpatrick <fitz_at_red-bean.com>
Date: 2003-10-01 17:11:36 CEST

Robert <robertLinux@gmx.de> writes:
> Hello.
> Using svn on a directory which contains an application in one of its
> subdirectories can cause headaches:
> If the application is bundled, svn recurses inside the bundle and
> leaves its footprints in everey subdirectory inside the bundle.
>
> A bundle is technically simply a directory, but its a special directory
> where only files are stored which belongs to the application (this way
> laguage localizations, sounds, images and other resources gets bundled
> with the application).
>
> Solution: A bundle has either the .app extension or (in some rare cases
> where the programmer did stuck with OS 9 standards) the Finder "Bundle
> Bit" set. I have at least one major app with bundle bit instead the app
> extension: Adobe Acrobat Reader 5.0, but I assume that there are other
> "old Carbon Apps" which use the bundle bit instead of the .app
> extension.
>
> So checking for .app , if not there check for the bundle bit should
> should prevent svn from recursing and cluttering up the bundles.
>
> Instead of checking for the Finder "Bundle Bit" which would make use of
> Macintosh FileManager API, one could use the
> /Developer/Tools/GetFileInfo tool instead but I guess for this tool the
> Developer Tools CD has to be installed.
>
> Shall I write the patch?

I wouldn't start writing just yet. See

    http://subversion.tigris.org/issues/show_bug.cgi?id=707

-Fitz

--
Brian W. Fitzpatrick    <fitz_at_red-bean.com>   http://www.red-bean.com/fitz/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 1 17:12:21 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.