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

Re: newbie has repository format problem

From: Thomas Harold <tgh_at_tgharold.com>
Date: 2007-06-21 05:15:14 CEST

Thomas John VanDrunen wrote:
> Then I attempted to checkout the project on my laptop (a Mac) through ssh:
>
> $ svn checkout svn+ssh://...
>
> svn: Expected format '3' of repository; found format '5'
>
> The version there is
>
> $ svn --version
> svn, version 1.4.4 (r25188)
> compiled Jun 14 2007, 14:23:02
>
> Can anyone tell me why this version 1.4.4 is expecting format 3, or what
> I can do about it?

Like Eric said, sounds like you have multiple copies of "svnserve" in
the PATH. We typically configure our ~/.ssh/authorized_keys files with
full paths for the commands, i.e.:

command="/usr/bin/svnserve -t -r
/var/svn",no-agent-forwarding,no-pty,no-port-forwarding,no-X11-forwarding

Which eliminates the chance that a malicious user could put another
(hacked) copy of svnserve in the PATH somewhere above /usr/bin.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 21 05:15:51 2007

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

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