使用时间戳颠覆到 TFS 2010 RTM 迁移
问题很简单,如果需要将 subversion 存储库迁移到 TFS 2010 RTM,最好使用什么工具。
我找到了 http://www.timelymigration.com/ 看起来不错,但在联系他们后我发现在迁移期间,变更集上的时间戳会丢失。所有时间戳都设置为迁移日期,真实时间戳存储在变更集的注释中。
如何从 SVN 迁移到 TFS 2010 RTM 并保留时间戳?
Question is simple, if one needs to migrate subversion repository to TFS 2010 RTM what is the best tool to use.
I have found http://www.timelymigration.com/ and looks good but after contacting them I found out that during the migration timestamps on the changesets are lost. All timestamps are set to date of migration and real timestamps are stored in the comment of the changeset.
How to migrate from SVN to TFS 2010 RTM and keep the timestamps ??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
TFS 当前不允许在迁移更改时设置时间戳。 http://blogs.msdn.com/b/bharry/archive/2008/09/17/migration-toolkit-and-tfs-to-tfs-updates.aspx 有更多信息,其中之一关键部分是:
“核心问题在于版本控制,源于这样一个事实:我们有一个单调递增的变更集编号,该编号会在执行任何签入时更新。变更集编号与操作发生的时间之间存在直接关联系统的一个不变量是,如果一个变更集编号大于另一个,则其日期/时间也更大。”
这会阻止进入 TFS 数据库并手动更改时间戳,因为可能会产生不利的副作用。
TFS does not currently allow the timestamps to be set when migrating changes. http://blogs.msdn.com/b/bharry/archive/2008/09/17/migration-toolkit-and-tfs-to-tfs-updates.aspx has more information, with the one of the key parts being:
"The core issue is with version control and stems from the fact that we have a single monotonically increasing changeset number that updates anytime any checkin in performed. There is a direct correlation between the changeset number and the time that an operation occurred. An invariant of the system is that if one changeset number is greater than another, then its date/time is also greater."
This discourages going into the TFS database and manually changing timestamps because there may be adverse side effects.
您唯一的其他选择是 Kyrosoft SVN-2-TFS2008,但我不确定它们支持 TFS 2010 或时间戳。据我所知,只有这两家公司提供 SVN 到 TFS 的迁移:(
Your only other option is Kyrosoft SVN-2-TFS2008, but I'm not sure they support TFS 2010 or timestamps. As far as I know there are only these two companies that offer SVN to TFS migration :(