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

Mac OS X: Bundles

From: Robert <robertLinux_at_gmx.de>
Date: 2003-10-01 12:26:50 CEST

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?

Greetings,
Robert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 1 12:27:51 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.