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

Re: how to change repository repository path

From: John Peacock <john.peacock_at_havurah-software.org>
Date: 2007-10-24 12:35:07 CEST

paptimusx scirocco wrote:
> -- load.bat
> mkdir c:\var2\svnroot5
> svnadmin create c:\var2\svnroot5
> svnadmin load c:\var2\svnroot5 < SRC.dump
>
> --- error!!
> :
> ------- Committed new rev 13 (loaded from original rev 12) >>>
>
> <<< Started new transaction, based on original revision 13
> svnadmin: Dumpstream data appears to be malformed

Yeah, you can't do it that way because each nodes has a length parameter (and
you've just changed the length by altering the Node-copyfrom-path). You can do
this (much easier I think) with the tools present in SVN::Dump:

        http://search.cpan.org/search?query=SVN::Dump

It's still not trivial, but it is workable. Check out the example code,
specifically eg/svndump_replace_author.pl, which performs similar tasks. It
appears that Phillip has not released a new version in nearly a year, so you
will probably have to apply the patches in tickets 25467 and 26386:

        http://rt.cpan.org/Public/Dist/Display.html?Name=SVN-Dump

Good luck...

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Oct 24 12:35:09 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.