Page 1 of 1

SVNImporter wont migrate PVCS repo to a existing trunk??

Posted: Tue Oct 19, 2010 1:36 pm
by thariqueakbar
Hi,

I have two repositories in the PVCS, say RepoA and RepoB. I want to migrate these two PVCS repositories to one SVN repo called TestRepo.

I migrated the first repo RepoA to TestRepo and it is located in /trunk/RepoA.. Next I want to migrate RepoB to the same TestRepo and i want it to be placed as /trunk/RepoB...

But when I attempt the second repo RepoB migration.. it fails with the error message that /trunk already exists...

I know I can migrate to a new trunk called /trunk-RepoB/RepoB... but the rework is too huge.. Can someone plz suggest HOW to migrate two repos to the same TRUNK...

Its Urgent !!

Re: SVNImporter wont migrate PVCS repo to a existing trunk??

Posted: Wed Oct 27, 2010 10:15 pm
by kencorbin
Migrate the two repositories to two different subdirectories in your svn project, say PROJA and PROJB. This leaves you with a directory structure that looks like

root
PROJA
trunk
branches
tags
PROJB
trunk
branches
tags

After successfully running both migrations, you can use the svn mv subcommand to restructure the tree any way you like.