Using tortoise svn 1.7 and Delphi XE2

Just a heads up for anyone using tortoise svn 1.7 and Delphi XE2.

It is extremely rare that I’ve needed to use svn via the command line, but in trying it today I received a spurious error:

"svn: '.' is not a working copy"

Turns out the command line version of svn is V1.6 found in C:\Program Files\CollabNet. This is installed with XE courtesy of a setup packaged by Collab.net. A little while ago I upgraded my tortoisesvn to 1.7 which employs a different local cache structure. The cryptic error is a result of this incompatibility.

To resolve this I upgraded svn from www.collab.net (after jumping through the registration hoops just for the free download). I could probably have found it from apache.org or somewhere but didn’t want to mess with my environment path, etc. It might well be available from Embarcadero, but couldn’t find it with a quick check.

If you’re still on tortoisesvn 1.6, be aware of this gotcha when upgrading to 1.7.

One thought on “Using tortoise svn 1.7 and Delphi XE2

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s