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

RE: Re: repository version query

From: Adam Downer <adam.downer_at_ri3k.com>
Date: Tue, 4 Nov 2008 13:34:38 -0000

Excellent, I see I was looking in the wrong format file. thanks

-----Original Message-----
From: Hyrum K. Wright [mailto:hyrum_wright_at_mail.utexas.edu]
Sent: 04 November 2008 13:19
To: Adam Downer
Cc: users_at_subversion.tigris.org
Subject: Re: repository version query

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

________________________________________________________________________
This e-mail and its attachments are confidential. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments.

Although RI3K believes this e-mail and any attachments to be free of any virus or other defect which may affect your computer, it is the responsibility of the recipient to ensure that it is virus free and RI3K does not accept any responsibility for any loss or damage in any way from its use.

RI3K Limited is a company registered in England no: 3909745. Registered office 10, Ely Place, London, EC1N 6RY. VAT registration no: 769 0192 07

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-04 14:38:12 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.