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

Re: Merging Multiple Repositories in One

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-07-10 10:09:53 CEST

On 10/07/07, dimpy <hiraldesai@gmail.com> wrote:
> I have around 10 projects for a same client lying all around my computer. I
> currently have a separate repository for all of them. Time after time, I
> seem to be running into trouble managing all of them separately. I want to
> merge all these repositories into one directory (which will be a global
> repository for that client) and have 10 sub-folders under that one each for
> different projects.
> This is how I would do it, which I am sure involves a lot of mucking around.
> 1) Create a new repository for client on the subversion server.
> 2) Create a folder for the client on my machine.
> 3) Digg out all my client projects from my computer and put their clean
> copies (by deleting all _svn files) in the new folder.
> 4) Import everything in this folder into the new repository.
> 5) Create a new empty folder and checkout everything from the new
> repository.
> 6) Delete the previously created folder and all the client project folders
> from all over the place and only deal with the folder created in step 5) in
> future.
> Now this is a hard way to do it, but I am sure there is an easier way. Any
> help would be greatly appreciated.

If you do that you will lose all history of the projects. Have a look
at the subversion book on dump/load cycles to see how to dump a
repository to an archive file, and how to load multiple dump archives
into a single repository.

This is really a question for the users at subversion.tigris.org list
as it relates to the server rather than the client.


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue Jul 10 10:09:23 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.