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

Unable to svnadmin load an edited dumpfile

From: qbase <qbase77_at_gmail.com>
Date: 2007-03-21 13:58:50 CET

I've been following these instructions:
http://alephzarro.com/blog/2007/01/13/subversion-move-migrate-split/
http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.filtering

I've split a repository which works fine when I load it with svnadmin.
But if I try to edit the dump file and make the project as root I am
unable to load it into my new repository.

I run step3 in alephzarros guide like this
sed -e "s/Node-path: projects\//Node path: /" < proj1.dump > proj1-fixed.dump
sed -e "s/Node-copyfrom-path: projects\//Node path: /" <
proj1-fixed.dump > proj-fixed2.dump

vi proj-fixed2.dump ## delete Node-path: projects...

svnadmin load /srv/www/repos/proj1/ < proj1-fixed2.dump
...
<<< Started new transaction, based on original revision 4
svnadmin: Unrecognized record type in stream

It seems like it's the "sed -e..." part that causes my problem. I 've
skipped the VI part with the same results.

Any ideas on how to solve or get around this problem? I'm running
Subversion Version: 1.3.2-3ubuntu2.

//qbase

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 21 13:59:17 2007

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.