将更改历史记录从 Subversion 传输到 TFS
我在 Subversion 中有一个应用程序,我想将其与所有历史记录一起迁移到 TFS。这可能吗?
I have a application in Subversion and I want to migrate it to TFS with all the history records. Is this possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,使用 TFS 集成平台(上次我检查它确实需要大量的设置和脚本),或商业工具(例如这个)。
Yes, using the TFS Integration Platform (last I checked it did require a good deal of setup and scripting), or a commercial tool (such as this).
我会赞同@driis 所说的。您基本上必须遍历源系统中每个文件的历史记录,然后对每个文件进行添加+签入。根据旧源存储库的大小以及历史记录的数量,这可能会令人望而生畏。
从 StarTeam 迁移时,我们使用了 TFS 集成平台,并有意识地决定仅迁移尖端修订版。每次运行时,tip 的迁移平均需要 24 小时。我们还遇到了一些在迁移过程中需要解决的编码问题和丢失的文件。
如果您有很多来源,我的建议是找出您想要迁移的历史时间点,并忽略该点之前的所有历史记录,除非您有监管原因将该历史记录保留到开始处。
I'll second what @driis said. You basically have to iterate through the history of each file in the source system, then do an add + checkin of each file. Depending on the size of your old source repository, and the amount of history, this can be daunting.
We used the TFS Integration platform when we migrated from StarTeam, and made a conscious decision to migrate tip revision only. The migration of tip took on average 24 hours each time we ran it. We also ran into a number of encoding issues and missed files that needed to be resolved during the migration process.
If you have a lot of source, My advice would be to figure out a point in time of history that you want to migrate from, and ignore all history prior to that point, unless you have regulatory reasons for maintaining that history back to the beginning.