[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Help with Error: Expected version '3' of repository; found version '5'

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-11-02 17:59:22 CET

On 11/2/07, Kevin <kvn@katrix.net> wrote:
> Hi all,
>
> Sorry about this newbie question, but I've been unable to find a solution to
> this problem. I am trying to use TortoiseSVN on a PC (64-bit intel) and access
> a svn repo on a Linux server (chaos_3_x86_64_ib) via passwordless svn+ssh.
> Unfortunately, I keep getting "Error: Expected version '3' of repository;
> found version '5'" when trying to checkout the code, etc. As soon as I
> downgrade the schema to version 3, it works ok. What I don't understand is how
> to make TortoisSVN work with schema 5, etc. I need to do this to maintain
> compatiblility with hooks scripts that were written for version 5.
>
> Here are my versions:
> TortoiseSVN 1.4.5, Build 10425 - 64 Bit, 2007/08/26 11:14:14.
> svn, version 1.4.3 (r23084) compiled Feb 9 2007, 10:29:35
> svnserve, version 1.4.3 (r23084) compiled Feb 9 2007, 10:29:35
> svnadmin, version 1.4.3 (r23084) compiled Feb 9 2007, 10:29:35
>
> I am under the impression that TortoiseSVN 1.4.x is compatible with svn 1.4.x.
> Am I doing something wrong? As soon as I downgrade the schema to version 3,
> everything works ok (except all my extra hooks scripts, etc.)
>
> As a test, I just created a dummy repo with "svnadmin create jnkrepo" and
> added a jnk directory to it. Same problem. However, as soon as I used the
> --pre-1.4-compatible flag it worked. I.E. "svnadmin create --pre-1.4-compatible
> jnkrepo" works. My goal is to use the schema version 5 of svn, not version 3.
> Is my problem related to using the passwordless ssh to login? How do I get
> around this error? Any ideas or help would be greatly appreciated.

If the server is sending that message back (which I think it is), then
your client isn't a factor here. It sounds like your repository was
created with svnadmin >= 1.4, and your svnserve is using libraries
from 1.3 or earlier. Can you check what's installed on the server?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Nov 2 17:59:26 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.