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

Re: "svnadmin load" fails on a cvs2svn dump file

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2005-05-31 18:31:43 CEST

On 5/31/05, Jean-Luc Wasmer <jl+subversion@lists.wasmer.ca> wrote:
> Erik Huelsmann wrote:
>
> >On 5/31/05, Jean-Luc Wasmer <jl+subversion@lists.wasmer.ca> wrote:
> >
> >
> >>Hello,
> >>
> >>I'm trying to convert my cvs repository to svn.
> >>The cvs2svn and svnadmin commands were executed on different machines.
> >>
> >>svnadmin load database < svn.dump
> >><<< Started new transaction, based on original revision 1
> >> * adding path : trunk ... done.
> >>svnadmin: Unrecognized record type in stream
> >>
> >>
> >>cvs2svn version 1.0.0
> >>svnadmin, version 1.2.0 (r14790)
> >>
> >>Any idea?
> >>
> >>
> >
> >Yes, use a newer cvs2svn. More specifically: use 1.2.1.
> >
> Did the dump file format change? or is it a bug in 1.0.0?

You could use 1.0.x to load the file. The dump format hasn't changed,
but the dump loader has become stricter when reading dumpfiles. 1.2.1
has been adapted not to generate a content-length header on directory
blocks which actually don't have a content block. Subversion 1.0.x
silently ignores these headers.

After loading with 1.0.x, you can easily start using any higher
version without dumping and loading.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 31 18:33:54 2005

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