TFS 获取最新版本,不带只读标志
有没有办法将 TFS 配置为在执行“获取最新”命令时不将所有文件标记为只读?也许有一个特殊的插件或其他东西可以做到这一点?当需要时必须手动清除这些标志是非常烦人的。
Is there any way to configure TFS to not mark all files as read only when the 'Get Latest' command is executed? Maybe there is a special plugin or something that can do this? It is monumentally annoying to have to clear these flags manually when the need arises.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
开箱即用,无法将 TFS 配置为在获取最新版本操作期间不将所有文件标记为只读。
您可能知道,可以通过自定义或使用命令行中的 tf edit 命令来将其作为 TFS 构建模板中的第二个单独步骤来执行。
有关 TFS Get 命令的内部工作原理的好文章位于:http://www.codeproject.com/Articles/243654/TFS-Get-Latest-VS-Get-Specific-Version。同一篇文章还建议您自己编写一个能够使用 TFS API 的工具。当然,在这种情况下你可以做任何你想做的事。
Out-of-the-box, there is no way to configure TFS to not mark all files as read only during a Get Latest Version action.
As you willl probably know, it is possible to do this as a second separate step in a TFS Build template by customization or using the tf edit command from the command line.
A good post on the internal workings of the TFS Get command is available at: http://www.codeproject.com/Articles/243654/TFS-Get-Latest-VS-Get-Specific-Version. The same post also gives suggestions to write a tool yourself that is able to use the TFS API. Of course you can do whatever you want in that case.