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

Re: upgrading from repo format 1

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sun, 28 Jun 2020 11:04:18 +0000

Branko Čibej wrote on Sun, 28 Jun 2020 11:20 +0200:
> On 27.06.2020 15:04, Ben Elliston wrote:
> > I was a very early SVN user. I have a repo last timestamped January
> > 2003 that I want to get files and data out of. When I run svn upgrade,
> > I get:
> >
> > svnadmin: E165005: Expected repository format '3' or '5'; found format '1'
>
>
> Repository format 1 is really, really old; older, in fact, than
> Subversion 1.0, which used format 3 and did not offer backward
> compatibility with pre-1.0 repositories.
>
>
> > Do I need to install an intermediate version of SVN in order to
> > upgrade? If so, which version would you advise that I use?
>
> The latest version that I can find that used format 1 is 0.27.0:
>
> https://svn.apache.org/repos/asf/subversion/tags/0.27.0
>
> If you can build that version (which is probably going to be quite
> challenging, given its dependencies -- IIRC we still used APR-0.9 and
> some old, probably now unavailable version of Berkeley DB), you can then
> dump the repository with that old version of 'svnadmin'. It's likely
> that the current svnadmin can read such old dumps.
>
> (And if not -- surely that's a bug and can be fixed because we do
> promise to support repository dump formats indefinitely.)

What are the differences between f1 and f3? Would «echo 3 > format»
(plus perhaps some manual edits) allow current svnadmin's to dump the
repository?
Received on 2020-06-28 13:04:38 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.