且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

TFS 2012 中的 SVN 标记等效项

更新时间:2021-12-21 09:12:45

在 Team Foundation Server 中,标签类似于其他版本控制系统中的标签;标签包含特定版本的文件.

In Team Foundation Server, labels are similar to tags in other version control system; a label contains files at a specific version.

当我们发布一些产品时,我们将整个团队项目快照为一个标签——也就是说,我们创建了一些标签 11_Release 来指向我们的 11.0.0 版本,它将包含 $/TEE(我们的团队项目)在最新版本.然后我们解冻分支并允许进行登记.

When we release some product, we snapshot the entire team project as a label - that is to say that we create some label 11_Release to point to our 11.0.0 release, and it will contain $/TEE (our Team Project) at version Latest. We then unthaw the branch and allow check-ins to proceed.

当然,具体如何运作取决于您的流程.您不一定要将最新版本应用于该标签,事实上,它可能是其他变更集甚至日期版本规范.

Exactly how this works will depend on your process, of course. You need not necessarily apply the latest version to that label, it could, in fact, be some other changeset or even date version spec.