Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS Get Latest without readonly flags

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.

like image 739
A.R. Avatar asked Oct 17 '11 16:10

A.R.


1 Answers

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.

like image 128
kroonwijk Avatar answered Sep 20 '22 17:09

kroonwijk