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

RE: Integrate multiple remote SVN repositories into a existing repo

From: Badipatla, Venkata <venkata.badipatla_at_capgemini.com>
Date: Mon, 25 Aug 2014 17:24:26 +0530

Hi Kashyap,

Here are the steps to be followed:


1. Create a dumpfile of your entire repository.



Command : svnadmin dump <Repository Name> > Repo_full.dmp



2. Filter the required dumpfile from the above dump file of complete repository.


Command : svndumpfilter include project/repo/trunk project/repo/tags project/repo/branches project/repo/Desktop.ini project/repo/svn.ico <
          Repo_full.dmp > Filtered_dumpfile.dmp

Note: If you required “Desktop.ini” and “svn.ico” files to be existed in your destination repository, then only you include it in above command . If you don’t require these files, then you remove “project/repo/Desktop.ini” and “project/repo/svn.ico” from above command.


3. Load the filtered dump file into destination repository.

Command : svnadmin load /path/to/destination/repository < Filtered_dumpfile.dmp

Please let us know if you need further help.

Regards,
Venkat

From: Manjunath Kashyap [mailto:mail2manjukashyap_at_gmail.com]
Sent: Monday, August 25, 2014 4:47 PM
To: Badipatla, Venkata
Cc: Andreas Stieger; users_at_subversion.apache.org
Subject: Re: Integrate multiple remote SVN repositories into a existing repo

Hi Venkata,

Please find attached snap-shot of the folder structure of the source repo.
I am interested in branches, tags and trunk. But i find all the repo config files along with it.


Thanks,
Kashyap.

On Mon, Aug 25, 2014 at 4:21 PM, Badipatla, Venkata <venkata.badipatla_at_capgemini.com<mailto:venkata.badipatla_at_capgemini.com>> wrote:
Hi Kashyap,

Can you provide us the folder structure of your source repository which is under your “project/repo/*” as well ?

Regards,
Venkat

From: Manjunath Kashyap [mailto:mail2manjukashyap_at_gmail.com<mailto:mail2manjukashyap_at_gmail.com>]
Sent: Monday, August 25, 2014 4:13 PM
To: Andreas Stieger
Cc: users_at_subversion.apache.org<mailto:users_at_subversion.apache.org>
Subject: Re: Integrate multiple remote SVN repositories into a existing repo

Hi Andreas,

Thanks for the reply. The problem i am facing is the incoming repository is designed in such a way that each project in that repo itself is a repo.
I took the dump file of a project/repo. Now when i load this dump file into destination SVN, I find that the repo related files are being loaded along with the project files.
Can you please help me in filtering these repo related files so that i can load only the required folders into the detination repo?

Thanks,
Kashyap.

On Wed, Aug 20, 2014 at 8:22 PM, Andreas Stieger <andreas.stieger_at_gmx.de<mailto:andreas.stieger_at_gmx.de>> wrote:
Hi,

> On 20 Aug 2014, at 14:54, Manjunath Kashyap <mail2manjukashyap_at_gmail.com<mailto:mail2manjukashyap_at_gmail.com>> wrote:
>
> What is the best way to integrate remote svn repository into an existing repository?
svnadmin load --parent-dir
The svn book gives some examples.

Andreas


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Received on 2014-08-25 13:55:06 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.