SVN fs-type error

I get the following error whenever I try to test the connection to my Subversion Repository:

svn: Expected FS format '2'; found format '3'

I've looked it up and tried a bunch of different things, but to no avail. The SVNAdmin and SVN versions on my machine are the same. I've created repositories with both TortoiseSVN and svnadmin but TeamCity can't connect to either of them. I've also tried updating the SVNKit jar files in the WEB-INF to 1.1.8 but that didn't work either. How have people solved this problem?

Thanks,
Matt

edit: The fs-type on all my repositories, regardless of whether they were created using Tortoise or svnadmin, is fsfs. Is TeamCity expecting the type to be bdb? If so, my svnadmin version doesn't have the ability to create a 'bdb' repository (I've tried). How do I get this to work if this is indeed the case?

Edited by: Matt Baker on Jul 28, 2008 8:42 PM

3 comments

Here's some more information that may help:

svn --version results:

svn, version 1.5.0 (r31699)
compiled Jun 23 2008, 12:59:48

Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

  • ra_neon : Module for accessing a repository via WebDAV protocol using Neon.

- handles 'http' scheme
- handles 'https' scheme

  • ra_svn : Module for accessing a repository using the svn network protocol.

- with Cyrus SASL authentication
- handles 'svn' scheme

  • ra_local : Module for accessing a repository on local disk.

- handles 'file' scheme

svnadmin --version results:

svnadmin, version 1.5.0 (r31699)
compiled Jun 23 2008, 12:59:48

Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository back-end (FS) modules are available:

  • fs_fs : Module for working with a plain file (FSFS) repository.


And here are the contents of the "format" file found under the db folder of my repository:

3
layout sharded 1000

I assume the 3 inside the format file is what TeamCity is referring to, but what is going on with it?

0

It appears that the schema changed between 1.4 and 1.5. Format 2 is what 1.4 used when creating a repository and Format 3 is what 1.5 uses. The problem is that the version of SVNKit that TeamCity (TeamCity Professional Version 3.1.1 (build 6828)) is using is not compatible with Format 3. Has anyone been successful in updating their SVNKit version to work with SVN 1.5?

Thanks,
Matt

0

Try to upgrade your TeamCity to 3.1.2 RC. There were related fixes.

--
Pavel Sher

0

Please sign in to leave a comment.