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

how to change repository repository path

From: paptimusx scirocco <paptimusx_at_gmail.com>
Date: 2007-10-24 12:12:29 CEST

Hi there.

Could you help me.
I would like to change path from A to B.

A) file:///c:/var2/svnroot2/SRC.070919
B) file:///c:/var2/svnroot5/SRC

I failed though I tried.
do you know a good method?

thanx in advance.

--- dump.bat
set OPTDUMP= --quiet
set OPTFILT=--drop-empty-revs --renumber-revs --preserve-revprops --quiet
svnadmin dump %OPTDUMP% c:\var2\svnroot2 > dump0.dump
svndumpfilter include SRC.070919 %OPTFILT% < dump0.dump > SRC0.dump
perl -S svxpath.pl < SRC0.dump > SRC.dump

-- svxpath.pl
binmode(STDIN); binmode(STDOUT);
while(<STDIN>) {
    if(/^Node-path: (.*)$/ || /^Node-copyfrom-path: (.*)$/) {
        s/SRC\.070919/SRC/;
    }
    print;
}

-- 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

-pa*x

---------------------------------------------------------------------
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:12:51 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.