On 24 Oct 2007, at 11:12, paptimusx scirocco wrote:
> 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?
svn mv -m "drop date suffix from SRC path" file:///c:/var2/svnroot2/
SRC.070919 file:///c:/var2/svnroot5/SRC
Of course the history will show the fact that you changed the
directory name, but that's not something that would bother me.
>
> 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;
> }
I can't tell you the specific problem with this, but I don't think
you can necessarily treat a dump file as if it were a line oriented
text file.
>
> -- 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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 25 09:51:09 2007