You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Damien McKenna <dm...@thelimucompany.com> on 2004/10/18 17:58:56 UTC

P42SVN dump files won't load, "svn: Found malformed header block in dumpfile stream"

Good day to you.

After a bit of wrestling I got your script running on my perl install 
(Cygwin, P4API 2003.2, P4Perl 3.4585).  After successfully creating 
several dump files I attempted to import them into an empty SVN 1.1.0 
BDB respository but continually get this error:

svn: Found malformed header block in dumpfile stream

Do you have any idea why this might be happening?  Did something change 
with SVN's dump files since p42svn was written?

Any help would be appreciated, and thanks for an otherwise great script.
-- 
*Damien McKenna* - Web Developer - dmckenna@thelimucompany.com 
<ma...@thelimucompany.com>
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
"Nothing endures but change." - Heraclitus

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: P42SVN dump files won't load, "svn: Found malformed header block in dumpfile stream"

Posted by Damien McKenna <dm...@thelimucompany.com>.
From Ray Miller:
----------------------------------------------------

I see what the problem is: the Perl on cygwin is outputting
carriage-return/line-feed line endings, and svnadmin is expecting just
a line-feed.  You could fix up the dumpfile with something like:

perl -p -i -e 's/\r$//' mysite.svn

-------------------------------------------------------

I tried it and it worked!  Awesome job, Ray!
-- 
*Damien McKenna* - Web Developer - dmckenna@thelimucompany.com 
<ma...@thelimucompany.com>
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
"Nothing endures but change." - Heraclitus

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org