Subversion and mac bundles

I wrote earlier about using SVN and LaTeX for document management. While this has continued to work well for me, I did discover an issue with some document files generated by mac apps. It has become common to save documents as “bundles,” which from the filesystem perspective are directories but look like documents in Finder. Unfortunately, these bundles delete or overwrite any .svn folders they contain, so if you put an iWork document, or in my case a DataGraph plot, under revision control in SVN, you will get an error after you save it the next time:

svn: Working copy ____ is missing or not locked.”

I found a handy Ruby script that has a built-in list of extensions to look for (iWork files among others). I simply add dgraph to the list of extensions and it automatically downloads and replaces the missing .svn folders.


2 thoughts on “Subversion and mac bundles

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s