将代码从TFS 2010上的TFVC移到Azure DevOps Server上的TFVC [英] Move code from TFVC on TFS 2010 to TFVC on Azure DevOps Server

查看:68
本文介绍了将代码从TFS 2010上的TFVC移到Azure DevOps Server上的TFVC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在TFS 2010上有一些关于TFVC源代码控制的项目.我只想将源代码从TFS 2010迁移到Azure DevOps Server上的TFVC.

I have some projects on TFVC source control on TFS 2010. I want just to migrate the source code from TFS 2010 to TFVC on Azure DevOps Server.

我不想将整个收藏集升级到最新版本.我只想随历史记录一起传输代码.

I don't want to process an upgrade of the entire collection to a newest version. I Just want to transfer my code with history.

我尝试了Git-TFS.我在TFS 2010上克隆了存储库,但是我不知道如何更新TFVC存储库的远程URL并推送到Azure DevOps Server.

I tried Git-TFS. I cloned my repository on TFS 2010, but I don't know how I can update the remote URL for TFVC repos and push on Azure DevOps Server.

有什么想法可以做到吗?还是我可以使用的其他工具?

Any ideas how I can do it? Or other tools that I can use?.

如果我决定无历史记录地迁移,怎么办?

In the case I decide to migrate without history how can I do it?

谢谢.

推荐答案

免责声明:我是git-tfs工具的最后维护者(即使我不再进行任何工作)

Disclaimer: I'm the last maintainer of the git-tfs tool (even if I no more work on it)

Git-tfs可用于从TFVC迁移到git(如果您的历史记录不太复杂,则具有历史记录和分支).

Git-tfs could be used to migrate from TFVC to git (with history and branches if your history is not too complex).

但是绝不能将其历史记录推送到另一个空的TFVC项目中.

But in no way it could be used to push this history to another empty TFVC project.

所以不要指望这里有什么.

So don't expect something from here.

有趣的事实(对您而言并不那么有趣):

Fun fact (not so fun for you) :

为防止回归产生git-tfs,我在Codeplex上创建了一个TFVC项目,该项目用于在持续集成作业中运行冒烟测试.

To prevent regression developing git-tfs, I created a TFVC project on Codeplex used to run smoke tests in a Continuous Integration job.

当Microsoft决定关闭Codeplex时,我联系了Microsoft内部源代码管理团队中的一名人员,以帮助我从Codeplex迁移到Azure Devops(当时称为VSTS),这是您尝试解决的问题.

When Microsoft decided to close Codeplex, I contacted a guy working in the source control team inside Microsoft to help me migrate from Codeplex to Azure Devops (at the time called VSTS) which is the problem you try to solve.

我不知道他们是否为此付出了很多努力,但没人能给我解决方案.他们唯一想到的就是使用git-tfs,我确认您无法做到这一点!

I don't know if they put a lot of effort into this but no one was able give me a solution. The only thing they think about was to use git-tfs, that I confirm you is not able to do it!

这可以让您了解要解决的问题...

That could give you an idea of the problem you're trying to solve...

Ps:这也表明TFVC不是足够灵活的源代码控制,并且它们具有更高的附加值,可以迁移到git(就像几乎每个人都在做的一样……)

Ps: that also show that TFVC is not an enough flexible source control and their is a much higher added value to migrate to git (like nearly everyone is doing it...)

这篇关于将代码从TFS 2010上的TFVC移到Azure DevOps Server上的TFVC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆