If you are caught somewhere between subversion 1.4 and 1.5 then you’ll suddenly find yourself one day presented with the message:
svn: This client is too old to work with working copy; please get a newer Subversion client
I originally found myself here while beta testing a new subversion client and inadvertently clicking “yes” I want to upgrade my working directory. But that’s another story. Here’s what I did (I’m running Mac OSX 10.5 Leopard):
- Download and install the Subversion 1.5 binaries from OpenCollabNet (via http://subversion.tigris.org/getting.html#osx). Once you download the .dmg, simply run the installer like you’d normally do any installer. You’d imagine that this would be all but it’s not because the new subversion installs to /opt/subversion/bin rather than /usr/bin.
- Update your path by either editing the “~/.profile” (for your individual user profile) or “/etc/profile” (for all system users). I chose to do this for my system as I used several accounts for different purposes. If the file doesn’t exist you need to create it. Then add the following line to the top of the file:
export PATH=/opt/subversion:$PATH
- Finally, rename the previous svn executable. You may find that you still cannot access subversion 1.5 if the 1.4 file is still available. Navigate to your /usr/bin folder and rename the old svn located there:
- Now when running svn –version you should see the 1.5 client referenced.
$ svn --version svn, version 1.5.2 (r32768)
compiled Sep 19 2008, 14:38:15
Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).
Now when running svn –version you should see the 1.5 client referenced.
should be written : ( –version) ;-))
Now when running svn –-version you should see the 1.5 client referenced.
Hey thanks for the comment, kadoudal. On my iMac running svn version 1.5 the command actually has the two dashes. From the svn help command documentation:
2
3
4
5
6
usage: svn <subcommand> [options] [args]
Subversion command-line client, version 1.5.4.
Type 'svn help <subcommand>' for help on a specific subcommand.
Type 'svn --version' to see the program version and RA modules
or 'svn --version --quiet' to see just the version number.
Are you running in a different environment or version?
[...] Thanks to http://www.imarichardson.com/2008/10/06/osx-svn-woes-client-is-too-old-to-work-with-working-copy/ [...]
Even easier, install macports and run following command in terminal:
sudo port install subversion
After install check version has been updated with:
svn –version
Even easier, install macports and run following command in terminal:
sudo port install subversion
After install check version has been updated with:
svn –version
Hey, (for 1.6 anway) the path should be “export PATH=/opt/subversion/bin:$PATH”
and you need to log out and log back in again for it to work :)
Hey, (for 1.6 anway) the path should be “export PATH=/opt/subversion/bin:$PATH”
and you need to log out and log back in again for it to work :)
Just in addition to Paul's comment, you actually should just need to update your environment variables like so (rather than logging in/out):
source ~/.profile
cheers. :)
Just in addition to Paul's comment, you actually should just need to update your environment variables like so (rather than logging in/out):
source ~/.profile
cheers. :)
Thanks Buddy
export PATH=/opt/subversion:$PATH
should be
export PATH=/opt/subversion/bin:$PATH
Thanks for this, it solved 99% of my problem :)
The other issue I has was my PATH was set in numerous files and .profile is checked last
http://johnnywey.wordpress.com/2008/04/17/fixin...
I ran into this problem when working on a website, upgraded svn but the problem persists. I have confirmed that the path is set correctly with “svn –version”.
This seems to have come out of nowhere. I'm the only developer working on this and I haven't messed around with different versions of svn since I originally installed it. Is there anything else that could be causing the problem?
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….
I had to put the following in my profile file to get it to work:rnrnexport PATH=/opt/subversion/bin: the rest, tnx for this! Saved my day….