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

Re: repository version query

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Tue, 04 Nov 2008 07:19:21 -0600

Adam Downer wrote:
> I am doing a trial run of the upgrade from svn 1.4 to svn 1.5 for my
> company.
>
> I did a full dump and load of the repository (yes I know I didn't
> really need to do it) and verified it on svn 1.5 and everything looks
> fine. I can access the repository, checkout, merge, commit etc. However
> I looked in the format db file for the repository schema version and I
> found something a bit confusing.

The repository format and the filesystem format are two different things. The
repository format lives at $REPOS/format, while the filesystem format is in
REPOS/db/format, and was added in 1.4. In the foreseeable future, only the
filesystem format will change, and bdb and fsfs formats can change independent
of each other.

> My 1.4 repository format file says :
>
> 2
>
>
>
> My 1.5 repository format file says :
>
> 3
>
> layout sharded 1000

These are filesystem formats, and the latter specifies a sharded layout with
1000 revs per shard. You can read more about FSFS filesystem formats here:
http://svn.collab.net/repos/svn/trunk/subversion/libsvn_fs_fs/structure

> my confusion comes from reading this page:
>
> http://svn.collab.net/repos/svn/trunk/notes/repos_upgrade_HOWTO
>
> Which states that repositories of 1.4 and higher should be schema
> version 5

That document is a little out-of-date, but it is correct in that the repository
format in version 1.4 and higher is 5. If you look in $REPOS/format, you'll see
that.

> So what should I be seeing and how can I tell if my repository is fubar?

Looks like you're seeing what you ought to; no cause for concern. Does the
repository *work* like it should?

-Hyrum

Received on 2008-11-04 14:20:04 CET

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.