On Apr 1, 2009, at 3:59 AM, mad-boy wrote:


Ok I tried both Versions. With the newer one the above message
appears, with the older Version it says the following:

Unable to open an ra_local session to URL
Unable to open repository 'file://localhost/Volumes/scratch/
mySVNDirectory'
Expected FS format '2'; found format '4'

Am I missing something?

Possibly, but it's not a simple topic, so don't feel bad.

When you check out a working copy in Subversion (whether through Versions, Xcode, Terminal, etc.), it has a specific version format. The SVN tools included with Leopard are version 1.4.4, so working copies used in Terminal and Xcode are in the 1.4 format, and must always be in order to use 1.4.x tools on them. Versions can choose between the 1.4.x and 1.5.x because both sets are bundled inside Versions. However, if you ever use SVN 1.5.x tools to work with a working copy, that working copy is automatically upgraded to the 1.5 format. Among other things, this means that 1.4.x clients are no longer able to work with that working copy. (This can be an annoyance, but there are quite a few reasons this happens. When major upgrades to SVN happen, it's pretty much impossible to add functionality without changing the format.)

What I'd suggest is to delete the local working copies (not repositories!), make sure Versions is set to use the 1.4.x tools, restart Versions, then check out the working copies again. You should then be able to use working copies from Versions with any other 1.4.x SVN client, including from Terminal and Xcode.

If you want to use the 1.5.x tools, you'll have to do a bit more work. You can install the 1.5.6 tools for OS X distributed by CollabNet (http://svnbinaries.open.collab.net/servlets/ProjectDocumentList ), which will install them into /opt/subversion and leave the built-in tools untouched. Unfortunately, getting Xcode to work other versions of the SVN libraries is more complicated — there are ways to do it, but they're all relatively fragile. The safest route is to use the "least common denominator" (SVN 1.4.x) across all tools, but this does require sacrificing the new features of 1.5.x and beyond. C'est la vie...

Hope that helps,
 - Quinn

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to