Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
677 views
in Technique[技术] by (71.8m points)

svn - Subversion: Expected format '3' of repository; found format '5'

Well I've gotten myself in a pickle

I did the subversion 1 click setup and it worked great. However, in setting up my repository I accidentally committed a file that I shouldn't have. Rather than jumping through the hoops of purging a file I deleted the repository and recreated it using "svnadmin create" as recommended to me.

Now however I am recieving the notorious Expected format '3' of repository; found format '5' error when I try to either import to the repository, or just even browse to it.

When I tried to uninstall subversion so that I could re-run the 1 click setup the uninstall failed and the 1 click setup won't overwrite whats already there.

From googling, this seems to be like some sort of versioning error but I don't see how that can be the case since I only ever installed the one version.

Can anybody help?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

It would appear that the 'one click setup' is based on an ancient version of SVN, but somehow you've also got a more up-to-date version of svnadmin which has created a newer repository.

I can't help you with your failed install/uninstall, but when you finally get rid of all the detritus of the 1-click install, then I'd try again, using something more up-to-date.

Here is a more up-to-date version in a nice package:

http://www.collab.net/downloads/subversion/

And here is the same stuff in just a .ZIP file which contains all the bits you need:

http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...