It's all about the answers!

Ask a question

Importing Particular CVS branch to RTC using cvs2svn dump file.


Prashantha Kumari (3511) | asked Dec 06 '13, 4:58 a.m.
retagged Dec 13 '13, 2:02 p.m. by David Lafreniere (4.8k7)
Hello,

           We are planning to import few CVS branch to RTC using cvs2svn dump file.
I am following the procedure which is mentioned in below link
https://jazz.net/library/article/650
As per article , I imported trunk to particular stream . Now i need to import particular branch code to RTC. I am trying the procedure which is given in " Importing Trunk and Branches from an SVN Dump File Generated from Another Repository" . I duplicated the workspace where i imported trunk. But do we need use separate stream while creating new work space for branch? Will it import the code will all history?

Thanks in advance,
Prashanthi.

One answer



permanent link
Prashantha Kumari (3511) | answered Dec 16 '13, 11:25 a.m.

Hello,

        I am trying to import branch eg. R7-Drop1 from a cvs2svn dump file. So I first imported the trunk:

http://publib.boulder.ibm.com/infocenter/rtc/v1r0m1/index.jsp?topic=/com.ibm.team.scm.svn.doc/topics/t_import.html

Then I tried to import the branch into a new repository workspace with the component baseline loaded for this branch:

http://publib.boulder.ibm.com/infocenter/rtc/v1r0m1/index.jsp?topic=/com.ibm.team.scm.svn.doc/topics/t_import_branch.html

Then I got below error.

An internal error occurred importing change set 'Revision 12155: [anonymous] (1/3/12 6:58 PM) This commit was manufactured by cvs2svn to create branch 'R7-Drop1'.'

Exception Stack Trace:

com.ibm.team.repository.common.TeamRepositoryException: An internal error occurred importing change set 'Revision 12155: [anonymous] (1/3/12 6:58 PM) This commit was manufactured by cvs2svn to create branch 'R7-Drop1'.'
at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.importChangeSetArchive(ChangeSetArchiveImporter.java:355)
at com.ibm.team.scm.client.importz.internal.ImportArchiveOperation.doImport(ImportArchiveOperation.java:97)
at com.ibm.team.scm.client.importz.internal.ImportArchiveOperation.run(ImportArchiveOperation.java:68)
at com.ibm.team.scm.client.importz.internal.ImportArchiveOperation.performImport(ImportArchiveOperation.java:153)
at com.ibm.team.scm.client.importz.internal.ui.ImportOperation.importIntoWorkspace(ImportOperation.java:186)
at com.ibm.team.scm.client.importz.svn.internal.ui.SVNDumpFileImportOperation.importIntoWorkspace(SVNDumpFileImportOperation.java:135)
at com.ibm.team.scm.client.importz.internal.ui.ImportOperation.repositoryRun(ImportOperation.java:123)
at com.ibm.team.repository.rcp.ui.operations.RepositoryOperation.run(RepositoryOperation.java:43)
at com.ibm.team.repository.rcp.ui.operations.JobRunner.run(JobRunner.java:240)
at com.ibm.team.repository.rcp.ui.operations.JobRunner$1.run(JobRunner.java:63)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.IllegalStateException: /LOWES/Docs-BR2/Config does not exist
at com.ibm.team.scm.client.importz.internal.utils.FileTree.resolvePath(FileTree.java:581)
at com.ibm.team.scm.client.importz.internal.utils.FileTree.resolveFolder(FileTree.java:551)
at com.ibm.team.scm.client.importz.internal.utils.FileTree.resolvePath(FileTree.java:566)
at com.ibm.team.scm.client.importz.internal.utils.FileTree.updateTree(FileTree.java:506)
at com.ibm.team.scm.client.importz.internal.utils.FileTree.prepareForChanges(FileTree.java:415)
at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.commitChanges(ChangeSetArchiveImporter.java:583)
at com.ibm.team.scm.client.importz.internal.ChangeSetArchiveImporter.importChangeSetArchive(ChangeSetArchiveImporter.java:332)
... 10 more

Any idea on below this error. How to resolve this error? Please suggest me how do I resolve this error.

Rational Jazz Team server version : 4.0.2

RTC eclipse client installed version : 4.0.2

Thanks,

Prashanthi.

Your answer


Register or 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.