我正在尝试将完整的 RTC 存储库导入到 ClearCase VOB 中。我尝试过使用clearfsimport,但似乎它只采用最新版本的文件。有没有办法在导入代码的同时保留历史记录(注释、重命名等)
最佳答案
这样的导入应该逐个组件地完成到 UCM components Vob 中。 ,而不是进入普通的 Base ClearCase Vob。
UCM 组件(和流)与 RTC 组件和流很好地映射,但使用 clearfsimport
时,导入过程仍然是:
- 手动(您必须选择要查看的每个 RTC 基线才能'clearfsimport' them)
- 仅针对基线完成(导入所有 RTC 修订版会太长)
- 没有合并或重命名等元数据
理论上,这是可能的(但我还没有测试过),通过 ClearCase-RTC connectors 之一称为“ClearCase 同步器”。
ClearCase Synchronizer is a two-way data replication between ClearCase and Rational Team Concert source control.
You can choose a UCM stream or a ClearCase branch and set up synchronization with a stream of Rational Team Concert source control.
It leverages Jazz Team Build, and you can run the synchronization on a scheduled basis or as you request.
This will provide flexibility to enterprise customers to let subset of teams to choose SCM tools to work with, and yet manage all the latest source code by single SCM repository.
参见“Using the Rational ClearCase Synchronizer and Importer”。
但我不知道它在一侧使用空的 UCM 组件、在另一侧使用完整历史记录的 RTC 组件时效果如何(或者是否完全有效)。
关于clearcase - 将 RationalTeamConcert SCM 导入到 Clearcase,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10020552/