Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Importing a subversion repository with many branches and components

We have a subversion repository with over 40k revisions that we want to import into RTC. Internally our repository is split into five parallel directory structures with their own trunk/branches/tags, which correspond fairly well to RTC components. There are approximately 100 branches we want to keep [at minimum]... each of these branches is present in each of these directory structures.

Since migration is only via the eclipse client, and it only does one branch into one component at a time, this means running the migration 500 times...

Note of those 100 branches, maybe only 10-15 are really active, but even restricting that means running the migration over 50 times. This just isn't very feasible.

Is there some way of automating this? A command line or Java API? Thanks.

1 vote


Accepted answer

Permanent link
As you say, the Subversion importer only supports importing a branch at a time and there is currently no command line support. There is no official API for the Subversion importer but it would certainly be possible to to write a Java based utility that simplified the import of multiple branches.
David Lafreniere selected this answer as the correct answer

2 votes


One other answer

Permanent link

I have the same problems and a I have 843 CVS repositories to migrate to RTC scm.

Each one have a lot of branches and tags and should be preserved in the migrations process.

By the way, we have one of the largest instalations in the world in Jazz Enterprise Deployment .

The lack of a an automated process compromises the migration.

This is a very common problem and must have automation. 

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,014
× 173
× 46

Question asked: Jun 04 '12, 1:30 p.m.

Question was seen: 5,434 times

Last updated: Oct 12 '17, 12:47 p.m.

Confirmation Cancel Confirm