Subversion And TortoiseSVN Issue: Expected FS Format '2'; Found Format '3'

There's a strange error message if I've ever seen one... TortoiseSVN kept giving me this message while trying to connect to a newly created repository (created with the same version of TortoiseSVN). I could connect to any number of other repositories without any problems, but for some reason the new repositories seemed different. I uninstalled Subversion and TortoiseSVN, making sure to reinstall the latest releases (1.5.0 and 1.5.2, respectively). Even that didn't help. Eventually, I tried creating a repository on the server locally (Subversion 1.5.0 and TortoiseSVN 1.4.5). Going back to my laptop, I opened up the repo-browser in TortoiseSVN and for some magical, wonderful reason I connected without any errors! I then uninstalled TortoiseSVN 1.5.2 on my laptop, rebooted, installed TortoiseSVN 1.4.5, rebooted, created a repository on the server and tried another connect. Success! Now I don't know exactly when this stopped working (I haven't had to create a repository in a while), but I find it odd that I couldn't get it working with both apps at the latest releases, while an older version of TortoiseSVN worked. I just subscribed to the mailing list and am going to report this issue to see if I can get it resolved. In the meantime, I'm stuck with 1.4.5.

Comments
TJ Downes's Gravatar
After upgrading versions you need to manually upgrade your repositories by using the svadmin upgrade" command. It sounds like you may have done this already for most of your repos, but I just wanted to mention it just in case!
# Posted By TJ Downes | 8/8/08 1:47 PM
Francois Levesque's Gravatar
Interesting suggestion, I'll try and make a couple of tests later today and see what I can come up with :).
# Posted By Francois Levesque | 8/8/08 3:10 PM
Matt's Gravatar
I'm having the exact same problem. I run an svn server in ubuntu on a samba share but create all my repos using Tortoise. I reformatted my desktop and reinstalled Tortoise. All of my old repos work fine but when I create a new one I cannot import. Same error, expected format 2 found format 3. It sounds like it's a bug in the new version of Tortoise since it's a newly created repo made with Tortoise. This post was the only information I've found so far. I'll let you know if IO find a solution.
# Posted By Matt | 9/14/08 10:10 PM
Kevin's Gravatar
I have a similar problem, having upgraded to Collabnet svn 1.5.2 (aug 28/2008)
and TortiseSVN 1.5.3. Tortise protests about "Expected FS format '2'; found format '3'".
I tried the 'svnadmin upgrade *' on all my repositories, but that did not solve the
problem. So now I'll try to revert back to some earlier versions, and hopefully get
my repositories working again.
# Posted By Kevin | 9/26/08 8:10 PM
James Oltmans's Gravatar
I had the same problem as well, the problem seems entirely related to creating the repository with TortoiseSVN version 1.5.3 (can't post the build number because I upgraded between when I created the repo and now).

The easiest fix is to kill the repo then use the command line svnadmin create reponame to create the repository. Note: this should only be done if you are encountering this error on a NEWLY created repo.
# Posted By James Oltmans | 10/8/08 11:51 AM
Ryan Hinton's Gravatar
Just wanted to chime in to ditto the sentiments of fellow posters.
I created my repo with the newest version of TortoiseSVN and it will not work. All pre-existing Repos still work.
I will remove the new repo and use svnadmin command line, for now.
# Posted By Ryan Hinton | 10/16/08 2:43 AM
Darryl's Gravatar
Been reading a few comments about the fs format difference. After doing some digging, I've just noticed that mine is a Windows installation and the old 1.4 Windows service is still registered.

So I have to just refresh my memory on how to nuke a service and then figure out how to register the 1.5 svnserve as a Windows service.

Perhaps this is your problem as well. Just FYI.
# Posted By Darryl | 11/14/08 4:02 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.9.1.002. Contact Blog Owner