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

SvnAdmin: impossible to load dump generated by "cvs2svn"

From: CHAZAL Julien <JULIEN.CHAZAL_at_atos.net>
Date: Mon, 10 Sep 2012 09:03:33 +0000

Hi all,
<http://www.atos.net>
I manage a Subversion server that has the following configuration :
- SVN 1.6.9
- FSFS storage mode
- Apache + mod_dav + subversion modules
- Linux Suse Enterprise Edition 32-bit

I have to perform a CVS to SVN migration. I use the tool "cvs2svn" to generate a dump file from my CVS server and I use the "svnadmin" command to load this dump file on my Subversion target server. I use a binary transfer mode with SFTP when I have to move a dump from my former CVS server to my SVN server.

I did this operation for many CVS repositories and it works fine, except for ONE repository (size around 300 MB) where I encounter the following error:
- 'vnadmin: Dump stream contains a malformed header (with no ':') at '

I tried to regenerate many times my dump file from cvs2svn tool. I checked the header of this dump fil and it sounds good (I compared it with other dump from cvs2svn tool). I took a look on the web and I find a command to clear the dump file obtained by cvs2svn, but anyway, it doesn't work too: I can't load this dump file. As I have ever said, the error above concern an only ONE cvs repository. Actually, I can load all others repositories from the same CVS server to the same SVN server by using the same commands and operations.

You'll find below the commands I use to perform my migration :
- CVS side: cvs2svn --dumpfile=DUMP_FILE.dump CVS_REPO --symbol-default=heuristic --encoding='latin1' --force-branch=ToPromote
- SVN side: svnadmin load MY_REPO_PATH < DUMP_FILE.dump

Is there somebody know the reason why I encounter this error? Any idea about how to resolve this issue?

Regards,

Julien

________________________________

Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos ne pourra être engagée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être engagée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Received on 2012-09-10 11:04:17 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.