使用 TFS 模仿/伪造 svn:externals
我有多个项目,每个项目都引用同一个库项目。我希望能够对库进行更改以支持其中一个项目,而不必在我的所有项目中支持这些相同的更改。在 SVN 中,我所要做的就是设置一个外部来签出库的特定修订版,并且除非我明确决定更改我签出的库的修订版,否则该修订版之后的任何进一步更改都不会被拉入。我从其他帖子中了解到,TFS 中并未明确支持外部概念,但 Bart Wullems 在他的博客上发布了一些内容,建议可以使用 Project Linker 来模拟这种行为 (http://bartwullems.blogspot.com/2010 /08/simulate-svn-externals-feature-in-tfs.html)。
有谁知道使用 TFS 时模拟 svn:externals 这方面的好方法吗?
谢谢。
I have multipile projects, each of which references the same library project. I want to be able to make changes to the library to support one of those projects without having to support those same changes in all of my projects. In SVN, all I had to do was set up an external that would check out a particular revision of the library and any further changes after that revision would never get pulled in unless I explicitly decided to change the revision of the library I check out. I understand from other posts that the concept of externals is not explicitly supported in TFS, but Bart Wullems posted something on his blog suggesting that it might be possible to simulate this behavior using Project Linker (http://bartwullems.blogspot.com/2010/08/simulating-svn-externals-feature-in-tfs.html).
Does anyone know of a good way to simulate this aspect of svn:externals when using TFS?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从我的角度来看,svn 的外部概念在某种程度上类似于 TFS 中工作区定义的概念。在 TFS 中,通过定义新的工作区,您可以确定在获取所需的最新版本时要检出哪个版本的库或项目。
From my point of view, the externals concept is svn is somehow similar to the concept of workspace definition in TFS. In TFS, by defining a new workspace, you can determine which version of libraries or projects to be checked out when getting the last version of your desired.