svn: can’t upgrade

I’ve recently update my distribution and copied back an old SVN repo into the new distributio. This led to issues with respect to different SVN version. The old one used SVN 1.6 and the new one is 1.7
In general, the command:

svn upgrade

works well but then I got this error message:

svn: E155019: Can't upgrade '....../spectrum/trunk' as it is not a pre-1.7 working copy root, the root is 'spectrum'

The solution is written in the error message: you are not in the root directory of the SVN repository. You must upgrade the entire repository not only a sub directory. So, just type (in this example):

cd ..
svn upgrade
Please follow and like us:
This entry was posted in Computer Science, Linux and tagged . Bookmark the permalink.

One Response to svn: can’t upgrade

Leave a Reply

Your email address will not be published.