简体   繁体   English

TFS和SVN代码合并

[英]TFS and SVN code Merge

We are a small team of 8. 3 are from other country and they are using the Source controller as TFS and TFS server is also located there and they have only 4 licence. 我们是一个由8人组成的小组。3人来自其他国家,他们使用Source控制器,因为TFS和TFS服务器也位于那里,并且他们只有4个许可证。 So we (5 developers) are using SVN source controller as local source controller and for every 3 days we are taking the TFS latest and merging the changes from and to SVN & TFS. 因此,我们(5个开发人员)将SVN源控制器用作本地源控制器,并且每隔三天我们就会更新一次TFS,并将SVN和TFS之间的更改合并。 Really this is overkilling and hour consuming task. 确实,这是过度杀伤和耗时的任务。 They don't want to change the TFS ( Not event add ins ). 他们不想更改TFS(Not event add ins)。 So what i can use to merge the code between two source controllers. 因此,我可以用来在两个源控制器之间合并代码。 Is it i can use SVN-Bridge to Merge the code without changing or modifying the TFS Server. 是我可以使用SVN-Bridge合并代码而无需更改或修改TFS服务器。 Please guide me on this. 请指导我。 (Worst case they might go for add ins, for sure no other source controllers than Microsoft Product). (最坏的情况是它们可能会用于加载项,请确保除了Microsoft产品外没有其他源控制器)。

hhhmmmmmm, i'm sitting in front of monitor and hitting the F5 on this page, Please save my hours. 嗯,我坐在显示器前,按了此页面上的F5,请节省我的时间。

I think that SvnBridge indeed may be able to help you. 我认为SvnBridge确实可以为您提供帮助。 By using SvnBridge you'll be able to use a single backend for the code, whilst using Subversion to talk to it. 通过使用SvnBridge,您可以在代码中使用单个后端,而在使用Subversion与之对话时。 I'm not sure if you need TFS licenses for the users on SvnBridge though. 我不确定SvnBridge上的用户是否需要TFS许可证。

Branching works pretty much the same way in TFS and Svn, although the speed indicates that it's not a cheap copy on the TFS backend, like it is usually in Subversion. 分支的工作方式在TFS和Svn中几乎相同,尽管速度表明它在TFS后端不是便宜的副本,就像通常在Subversion中一样。

Tagging works totally different in TFS, you'd have to check the SvnBridge documentation if there's a way to interop here. 标记在TFS中的工作方式完全不同,如果这里有一种互操作的方法,则必须检查SvnBridge文档。 If there isn't you can always use branches to tag stuff, like you normally do in Subversion. 如果没有,则可以像通常在Subversion中一样使用分支来标记内容。

SvnBridge doesn't need to be run on the TFS server; SvnBridge不需要在TFS服务器上运行; the first beta they shipped (before it was available on Codeplex) actually required you to run it locally, and connect to localhost:[some port] 他们交付的第一个Beta(在Codeplex上可用之前)实际上要求您在本地运行它,并连接到localhost:[某些端口]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM