问题描述
基本上我现在的客户端使用新的托管TFS进行版本控制(而不是TFS-Git ,只是标准的TFS),但我已经看到分布式版本控制系统在以前的项目中的光芒,现在不能回去了!
是否有推荐的方法来获取一个标准的TFS后端DVCS风格的体验?
我知道我问了很多,但我已经做了一些研究,似乎有暗示,也许可能将PlasticSCM与TFS同步)遍布PlasticSCM论坛,但我没有发现任何具体内容。
这个youtube视频看起来很有希望。对于在TFS中出现的塑料进行检查,反之亦然(通过命令行同步操作)。
是的,您可以使用Plastic SCM与TFS同步。但到目前为止,您必须依赖命令行。
它能够保持一个分支同步,因为不止一个分支会变得复杂,因为TFS没有做Plastic所采用的分支和合并跟踪也是如此。事实上,Plastic可以与Git完全同步推拉分支,合并和并发更改,合并跟踪等等。
对于TFS,您需要下载Plastic SCM 4.2(或更高版本),这是实验室版本(但完全稳定),包括新功能。
一旦你这样做了,命令很简单:
$ cm sync / main @ codice @ localhost:8084 tfs http:// tfsserver:8080 / tfs\\DefaultCollection $ / Project --user = tester --pwd = tester
user参数接受域名(--user =
查看下面的图片,详细了解它的工作原理:
Has anyone used the PlasticSCM client tools to work against a TFS repository?
Basically my current client is using the new hosted TFS for version control (not TFS-Git, just standard TFS), but I have seen the light of distributed version control systems on previous projects and now can't go back!
Is there a recommended approach to getting a DVCS style experience with a standard TFS backend?
I know I am asking a lot, but I have done some research and there seems to be hints that it maybe possible (to sync PlasticSCM with TFS) all over the PlasticSCM forums, but I have found nothing concrete.
This youtube video looks very promising. With checkins made to Plastic appearing in TFS and vice versa (via a command line sync operation). http://www.youtube.com/watch?v=AJKF3cjg7jA
Yes, you can use Plastic SCM to sync with TFS. But so far you've to rely on the command line.
It is able to keep one branch in sync since keeping more than one gets complicated since TFS doesn't do the same sort of branch and merge tracking that Plastic does. In fact, Plastic can be fully synced with Git http://www.plasticscm.com/gitsync/index.html pushing and pulling branches, merges and concurrent changes, merge tracking and everything.
In the case of TFS you need to download Plastic SCM 4.2 (or higher) which is the "labs version" (but fully stable) that includes the new functionality.
Once you do that, the command is rather simple:
$ cm sync /main@codice@localhost:8084 tfs http://tfsserver:8080/tfs\\DefaultCollection $/Project --user=tester --pwd=tester
The user argument accepts domain names (--user=Domain\username).
Check the following graphic with more details about how it works:
这篇关于使用PlasticSCM(或任何DVCS客户端)连接到TFS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!