Upgrade Subversion Server from 1.7 to 1.8

WernerCD picture WernerCD · Jun 19, 2013 · Viewed 22.5k times · Source

Related to How to upgrade SVN server from 1.6 to 1.7 and Will TortoiseSVN 1.7 work properly against a SVN 1.6 repository?.

Updated VisualSVN-Server to 2.6.0 (SVN 1.8) and local TortoiseSVN clients to 1.8. I've upgraded local working copies to 1.8.

My question is simply is there anything to do to the actual repository? How can you determine the repository version? Can/Does it need to be upgraded?

I can easily update the working copy, but I can't seem to find anything that mentions the actual server repository.

Answer

alroc picture alroc · Jun 19, 2013

It's not mandatory that you do anything on the server to upgrade your repository. To take advantage of new features in the FSFS backend going forward, you can run svnadmin upgrade but to get the full benefit for your whole history, you'll need to perform a dump/load cycle.

That said, there is a bug with svnadmin upgrade in 1.8.0 which results in a crash if you have an unsharded repository. So you may want to wait until 1.8.1, or do the full dump/load.