[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: Branko ─îibej <brane_at_apache.org>
Date: Sun, 28 Jun 2020 11:20:59 +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:


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.)

-- Brane
Received on 2020-06-28 11:21:03 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.