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

Re: SVN 1.5 - Can't access repository upgraded from 1.4.x format

From: Dave Lawrence <dlawrence_at_ad-holdings.co.uk>
Date: Fri, 27 Jun 2008 16:34:33 +0100

Rush Manbert wrote:
> I hope I'm doing something stupid and easily remedied.
>
> I have a repository that was created under 1.4.x. I have moved a copy of
> that repository to a different machine and verified that I can access it
> using the 1.4.x client, both on the local machine and from a different
> machine. I am using the svn+ssh protocol in both cases.
>
> After verifying correct operation with svn 1.4.x, I installed the 1.5.0
> release. I verified that "svn --version", "svnadmin --version", and
> "svnserve --version" all report 1.5.0 on the test machine.
>
> I could still access my 1.4.x format repository from the test machine
> using SVN 1.5.
>
> Here is where things started to go wrong.
>
> I made a copy of the 1.4 repository and verified that I could access it
> using the 1.5 release.
>
> I converted my 1.4 copy to 1.5 format by running svnadmin upgrade on it.
>
> I could not access the upgraded repository:
> svn info svn+ssh://localhost/Users/rmanbert/svn15/il6-1185-svn15-upgraded
> svn: Expected FS format '2'; found format '3'
>
> I tried upgrading the repository by doing a svnadmin dump on the 1.4
> format repository, then loading it into a newly created repository. I
> did this on the machine that is now running SVN 1.5. When I attempt to
> access the resulting repository, I get the same result.
>
> I tried doing svnadmin dump on the repository copy that I had originally
> moved to the test machine. I did the dump from the original machine that
> is my repository server, so it was dumped by SVN 1.4.4. I copied the
> dumpfile to the test machine and loaded it into a newly created
> repository using SVN 1.5. When I try to access the new repository I get
> the same error.
>
> So, to summarize, I have upgraded my repository to 1.5 format three
> different ways:
>
> 1.4 --> svnadmin(1.5) upgrade --> 1.5
> 1.4 --> svnadmin(1.5) dump --> svnadmin(1.5) create newRepo -->
> svnadmin(1.5) load newRepo --> 1.5
> 1.4 --> svnadmin(1.4.4) dump --> svnadmin(1.5) create newRepo -->
> svnadmin(1.5) load newRepo --> 1.5
>
> In all cases, when I try to access the 1.5 repository, I get the error
> svn: Expected FS format '2'; found format '3'
>
> Can someone please tell me what I'm doing that is wrong?
>
> - Rush

It looks to me like you have successfully upgraded your repository but
not your server. Not sure how you managed to upgrade svnadmin but not
svnserve however -- maybe you just need a reboot?

try svnserve --version to confrim.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-27 17:35:21 CEST

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.