You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Colvin, Joshua" <jc...@sfwmd.gov> on 2007/07/11 11:41:30 UTC

Wrong db format, but binaries all match?

Hello all,

I create a SVN repository using svnadmin 1.4.3, but when I do a checkout
using

svn (also 1.4.3), I get: svn: Expected format '3' of repository; found
format '5'.

What's going on?

 

-bash-3.00$ svnadmin --version

svnadmin, version 1.4.3 (r23084)

   compiled May 17 2007, 07:47:06

 

Copyright (C) 2000-2006 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.

 

-bash-3.00$ svnadmin create HESM_Projects

-bash-3.00$ ls -l HESM_Projects/

total 48

drwxr-sr-x  2 svnserv svnserv 1024 Jul 10 15:50 conf

drwxr-sr-x  2 svnserv svnserv   80 Jul 10 15:50 dav

drwxr-sr-x  5 svnserv svnserv 1024 Jul 10 15:50 db

-r--r--r--  1 svnserv svnserv    2 Jul 10 15:50 format

drwxr-sr-x  2 svnserv svnserv 1024 Jul 10 15:50 hooks

drwxr-sr-x  2 svnserv svnserv 1024 Jul 10 15:50 locks

-rw-r--r--  1 svnserv svnserv  229 Jul 10 15:50 README.txt

-bash-3.00$ cd

-bash-3.00$ svn --version

svn, version 1.4.3 (r23084)

   compiled May 17 2007, 07:47:06

 

Copyright (C) 2000-2006 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_dav : Module for accessing a repository via WebDAV (DeltaV)
protocol.

  - handles 'http' scheme

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

  - handles 'svn' scheme

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

  - handles 'file' scheme

 

-bash-3.00$ which svn

/usr/local/bin/svn

-bash-3.00$ /usr/local/bin/svn co svn://dcluster1/HESM_Projects

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

-bash-3.00$

 


Re: Wrong db format, but binaries all match?

Posted by Andreas Schweigstill <an...@schweigstill.de>.
Hello!

Colvin, Joshua schrieb:
> svn (also 1.4.3), I get: svn: Expected format '3' of repository; found 
> format '5'.

This topic been discussed here several times before. It seems that you
still have some debris of an old Subversion version on your computer,
probably from a Subversion package provided by the (Linux) distribution.

The user tools may have been replaced by the new version but not the
svnserve file which will be started during system boot. For user root
usually /usr/local/bin is not included in the search path. And there
also will be a absolute path to the old svnserve in the startup scripts.

You can find out which svnserve is running with "lsof | grep /svnserve".

With best regards
Andreas Schweigstill

-- 
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstraße 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org