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

Re: load dump file into different directory structure

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Fri, 23 May 2008 16:26:28 -0500

On May 21, 2008, at 07:20, vamsi hari wrote:

> we have a repository A which we access using http://X.X.X.X/ABC
> Now we want to create a different repository B by taking few
> folders from repository A.
>
> Here in this case I wan to create dump for the content under this
> path http://X.X.X.X/ABC/XYZ/PQR and to load into repoB
>
> here are the commands which i used to perform this
>
> svnadmin dump /home/rep | svndumpfilter --renumber-revs --drop-
> empty-revs include /XYZ/PQR > test.dmp ( we want only the content
> uder PQR, not even the folder name PQR)
>
> what exactly I'm looking for is, I want to load the contents under
> PQR into repoB's trunk folder
>
> something like this http://XX.XX.XX.XX/MNO/trunk ( under trunk I
> wan to have the content which is under PQR of repoA )
>
> How do i remove the prefix /XYZ/PQR before i load into repoB

I believe you don't remove the prefix before loading, but rather use
"svn mv" to rearrange things the way you want them after you load.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-23 23:27:00 CEST

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.