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

Re: Invalid svndump files written by cvs2svn

From: Martin Furter <mf_at_rola.ch>
Date: Tue, 5 Feb 2008 21:10:01 +0100 (CET)

Hi Rolf

On Tue, 5 Feb 2008, Rolf Eike Beer wrote:

> http://svn.borg.ch/svndumptool/0.4.0/README.txt says:
>
> =====
> Fixes a cvs2svn created dumpfile. Some (all?) versions of cvs2svn do not
> create 100% valid dumpfiles according to subversions specification of the
> dumpfile format. It omits the node kind for copied nodes. This command
> repairs those nodes.
> =====
>
> mhagger requested that I report it. I don't know if this issue is real, is
> already fixed or whatever as I have not tested this.

That has been discussed here before (or in IRC, can't remember).

I believe the problem is that cvs2svn omits the 'Node-kind' for copied
nodes (add with copy-from information). "svnadmin load" doesn't need the
'Node-kind' and does not check it for copies.

cvs2svn just uses that fact and saves the work needed for figuring out the
node kind. I looked into that a while ago and it seemed to not be easy to
get that information in cvs2svn.

But to be able to use some of the commands of svndumptool those node kinds
have to be recreated which is what the 'cvs2svnfix' command does. I can't
remember which commands need the node kind, but at least check needs them.

HTH
Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-02-05 21:10:14 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.