Wednesday, July 29, 2009

svn: This client is too old to work with working copy

Hello folks,

I am still very much alive, i don't know ho missed me or not(am sure no one :D). There is lot happening in life now-a-days will talk about it later, first a quickie about SVN.

If you are working on some project then you must be aware of something called SVN, it is an open source version control system. Recently got hit with something really weired.

I work on Ubuntu but as my ubuntu doesn't have anything even close to 80% of tortoise SVN i tried using windows for that(using virtual windows and samba) to carry on my SVN activities that is really really easy when it is done using TortoiseSVN.

But the time i tried "svn update" from Linux shell command it gave me
praveen@praveen-laptop:~/NetBeansProjects/projectone$ svn update
svn: This client is too old to work with working copy '.'. You need
to get a newer Subversion client, or to downgrade this working copy.
See http://subversion.tigris.org/faq.html#working-copy-format-change
for details.


And i was like what to do now, so followed the instruction and it worked(at least worked for me :) ). So what i did is
Step 01: Downloaded a file http://svn.collab.net/repos/svn/trunk/tools/client-side/change-svn-wc-format.py http://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/change-svn-wc-format.py
Step 02: Executed the following command
praveen@praveen-laptop:~$ python change-svn-wc-format.py /path/to/project 1.5
i.e my project got downgraded to version 1.5

And it worked :)

AS NOTE: usage: change-svn-wc-format.py Working_Copy SVN_VERSION

Next Time something like this happens, you know how to do it.

No comments:

Post a Comment

Sky diving! What it feels like.

Writing a new post after almost a year :) Penning it down here.. so that can relive that moment when i did the jump from 10000 feet up in...