Migrating from Another SCM System
![](http://jazz.net/_images/myphoto/a8ba6867dece559977ff5eb45ac95720.jpg)
https://jazz.net/help-dev/clm/topic/com.ibm.team.concert.dotnet.doc/topics/t_migrate_from_scm_to_jazz.html
Thank you!
2 answers
![](http://jazz.net/_images/myphoto/a8ba6867dece559977ff5eb45ac95720.jpg)
If you don't need version history, and if you don't need to import multiple branches of the same code base, then it is easy to migrate ... just load the tip of the branch you want to import into the file system, and then "share" that file system tree into RTC SCM.
If you want history, then it gets harder. RTC currently only has two built-in "history importers" ... from Subversion and from ClearCase. If you want to import history from some other SCM system, then one approach is to do it as a two phase process ... first import from the other system into either Subversion or ClearCase, and then import from there into RTC. Since Subversion and ClearCase are two of the most commonly used SCM system, there is a reasonable chance that you can find a history importer from the other SCM system to one of those. If that is not the case, then you'll need to script the import yourself.
Comments
![](http://jazz.net/_images/myphoto/a8ba6867dece559977ff5eb45ac95720.jpg)
OK Geoff, I give. I have looked all over the place over the past few months for documentation about how to populate a RTC SCM repository. I know that it is not difficult and I have managed to do it in the past. However, I can not find I link that I can reference as needed. Please help.
BTW, thank you for your previous response!
![](http://jazz.net/_images/myphoto/a36d1dcfd3e1e1e00aeb18c860d1443d.jpg)
RTC SCM uses the term "share" to refer to putting files under source control.
One way to "share" a directory tree is through the RTC scm command line tool. See https://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/topic/com.ibm.team.scm.doc/topics/share.html
If you have the files loaded into Eclipse as an Eclipse project, you can use the "team -> share" operation on the Eclipse project to put those files under RTC source control. See: https://pic.dhe.ibm.com/infocenter/clmhelp/v4r0/index.jsp?topic=%2Fcom.ibm.team.scm.doc%2Ftopics%2Ft_sharing_projects.html
Note: You can load an arbitrary directory tree into an Eclipse project with the "import -> general -> file_system" operation.
![](http://jazz.net/_images/myphoto/a8ba6867dece559977ff5eb45ac95720.jpg)
so what is there documentation on how to load share files if you want to add them to an Eclipse project?
![](http://jazz.net/_images/myphoto/a8ba6867dece559977ff5eb45ac95720.jpg)
The procedure that I have followed in the past is something like this. But I can't find this documented anywhere.:
- Load the component into your Eclipse workspace (sandbox).
- Click Browse the components to select the folders to be loaded.
- Select the component to be loaded. An empty folder with the same name is created in the specified sandbox.
- Expand Advanced Options, and click to load folders but do not create Eclipse projects.
- In this course, you will store simple file system objects in this component, not Eclipse project files.
- An empty folder is in our sandbox with the same name as the loaded component.
- Populate the component folder in the sandbox with the files and folders to add to source control.
- Refresh the Pending Changes view in the Eclipse client to see the changes from the sandbox.
- Click Check-in and Deliver to place the set of unresolved changes into source control.
- To associate this set of changes with a work item, click Next. Otherwise, enter a comment to describe this set of changes.
![](http://jazz.net/_images/myphoto/a36d1dcfd3e1e1e00aeb18c860d1443d.jpg)
Yes, the procedure in the immediately preceding comment is fine.
It consists of:
- the "load workspace" use case, followed by the
- creating new files and folders use case (standard Eclipse use case ... does not involve RTC), and then
- checkin unresolved files use case.
![](http://jazz.net/_images/myphoto/5c65edd355a960804cf9cd2c335c642b.jpg)
N. Dot, you might find the following article useful: https://jazz.net/library/article/1016 (Loading Content from a Jazz Source Control Repository in Rational Team Concert 4.0)
![](http://jazz.net/_images/myphoto/a8ba6867dece559977ff5eb45ac95720.jpg)
If you can get your data into CVS or SVN, you can use the SVN importer from the Eclipse client. Check the article for details.
As for StarTeam specifically, there isn't any documentation about migrating from it. Somebody else might have insight about the process.
For setting up with SCM, you'll want to think about the components to create for your source code. You can take a look at the articles in the library to get an idea of how SCM works and give you ideas of how you want to organize your source code in SCM.