Svn Switch or Downgrade Project subversion copy


I have using two OS on my machine(Fedora 9 and Windows XP). and Workspace or Project environment i am using same directory which present on NTFS partition.

Few days back when i am working on one project(Fedora 9). and tried to commit my code. i got following error:
svn: This client is too old to work with working copy ‘.’; please get a newer Subversion client

I searched lot on google but not found any proper solution. But i got to know i am using subversion 1.6.2 on windows machine and fedora box i am using older version 1.4.2. That is reason i get the error.
I tried following command:
yum update subversion

But this not worked for fedora9.

I need to install subversion 1.6.2 to solve the problem. But later on realize that there is no upgraded stable version available for Fedora or Linux.

I goon through so many articles but not found exact solution.
Here is solution of this problem. I found this solution in Subversion faq page.

Download and run a python script(http://svn.collab.net/repos/svn/trunk/tools/client-side/change-svn-wc-format.py) to set the working copy back to the your subversion-
cd $PROJECT_DIR
chmod +x change-svn-wc-format.py
./change-svn-wc-format.py . 1.4

This will solve your problem.
Important Note:This method helpfull to 1.4, 1.5 and 1.6 subversion software.

Advertisements
This entry was posted in PHP and tagged , by Purab Kharat. Bookmark the permalink.

About Purab Kharat

I am WordPress and Drupal Architect. I worked on many technologies like Ruby on Rails, Flex, PHP etc... I am Purab Kharat from India, Pune. I love to play chess and listen music and read books. I work in SY Smartsourcing Global Pvt Ltd in Princeton, NJ, USA. Now I am living at Plainsboro, 164 Hampshire Drive, Princeton Meadows, NJ. I have more then Ten years experience in Web Application Development (Specially in Php 5.0, Ruby on Rails, Mysql 5.0, RIA, Wordpress, Drupal, Joomla, Ecommerce)

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