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

Re: Problem accessing repository

From: Nuutti Kotivuori <naked_at_iki.fi>
Date: 2002-11-10 21:10:59 CET

Philip Martin wrote:
> Timtohy <treaves@silverfields.com> writes:
>>> Timtohy <treaves@silverfields.com> writes:
>>>> I've just upgraded some packages on my machine. When I rebooted,
>>>> and try to access a svn repository, I am getting the error:
>>>>
>>>> Expected version '1' of repository; found no version at all; is
>>>> `/home/subversion/musicDB' a valid repository path?
>>
>> Well, I figured it out by creating a new repository, and looking
>> for differences. The problem ended up being that the file names
>> 'format' was not in my existing repositories, but was in the new
>> one. I simply copied it into all the ones that were no longer
>> working , and they worked.
>
> No! That's asking for trouble! If you created the repository with
> an old version of Subversion it would not have had a format file,
> but it also used a different format for the repository database
> tables. You need to follow the upgrade procedure: use an old
> version of svnadmin to dump the repository, and a new version of
> svnadmin to load the dump into a new repository.

It's funny how many people seem to do that - copy over the 'format'
file or just increment it so the repository "appears" to work.

I'm not sure what should be made to fix matters though - Timtohy, what
would have made you realize that you need to convert your repository
that a simple addition of the 'format' file would break things?

-- Naked

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 10 21:11:44 2002

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

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