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

Re: accessing the repository via svn+ssh fails: "svn: Expected format '3' of repository; found format '5'"

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 10 Nov 2008 15:19:23 -0500

On Mon, Nov 10, 2008 at 14:46, jonderry <jonderry_at_gmail.com> wrote:
> I'm using svn via both cygwin and TortoiseSVN, all at the current
> version (1.5.4). I can create a repository with the --file-type fsfs
> option set, or without. I can checkout or list via, for example,
>
> svn list file:///path/to/repository/
>
> However, if I try to use svn+ssh via
>
> svnserve -d -r /path/to/repository/
> svn list svn+ssh://localhost/repository/

You're running a local server pointing to a path on a remote machine
for the location of the Subversion repository itself? You're just
setting yourself up for a mess if so.

> I always get the following error:
>
> svn: Expected format '3' of repository; found format '5'
>
> Other instances of this problem seem to be due to a version 1.3.x
> client accessing a repository created by a 1.4.x svnadmin. However, in
> my case, all of the svn utilities I am using are at version 1.5.4. I
> have tried all permutations of creating the repository via TortoiseSVN
> or the command line, and checking out via TortoiseSVN and the command
> line, but the same error always results. Does anyone know what could
> be causing this and how to fix it? or how to find out what is causing
> this problem?

You're still using svnserve 1.3.

FYI, you do not need to use a Cygwin SVN client on Windows. There is a
native Win32 client that's much better behaved WRT other Windows apps.
The Cygwin client thinks it's on *NIX, so line-endings will get
confused between that client and regular Windows apps.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-11-10 21:19:33 CET

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.