SQL Management Studio, TFS Msscci Provider and branching

Recently user has reported problem when using SQL Server Management Studio and TFS. When he branched folder and opened a newly created solution, he kept pending changes on the original projects instead of the branched one. Veterans of source control integration in Visual Studio (2003, 6.0 and others) will probably recognize this problem immediately –…

1

What to do when history ends with delete, source rename?

As you probably know, one of the biggest changes in the version control part of TFS 2010 was moving from item mode (files and folders are uniquely tracked by itemId) to slot mode (itemId is attached to a slot and renaming file or folder changes its itemId). Matt wrote more about it here. Of course…

0

TFS Msscci Provider for TFS 2010 Beta2

As Brian mentioned a few weeks ago (http://blogs.msdn.com/bharry/archive/2009/12/01/tfs-2010-power-tools-are-available.aspx) we have updated our powertools, to work with TFS 2010 beta2. As usual, I was working on the Msscci provider and now I want to finally describe changes made – it can be useful when updating other tools for TFS 2010. It’s also worth reporting new features….

1

Visual Basic problems with TFS, when referencing files outside of the project

I was asked recently to investigate problem when using VB6 and TFS Msscci Provider. We found out a limitation, that is not really surprising, but is still worth documenting. The code base looks like this: Source                 SharedCode                                 Class1.cls                 Project 1                                 Project1.vpb                                 Form1.frm There are a few problems with TFS integration…

1

"Get latest on checkout" in a mixed environment

Today I had to test behavior of our less commonly used feature, get latest on checkout, in a mixed VSTS 2008 + TFS 2008 environment. Hopefully this blog post will save the time next person who wonders if this should work (It took me 3 hours to update my VS2005 hyperv image before I could actually try…

0

Version Control API changes in TFS 2010 – part II

Yesterday I was talking about changes we did to itemId and pendingChangeId in TFS 2010. Today I want to list other changes, related to various part of VC api: You should be careful when using DiffItemVersionedFile class, especially if you use constructor that requires itemId. Much safer thing to do is to call Difference. CreateTargetDiffItem. It will…

1

Version Control API changes in TFS 2010 – part I

As Matt writes in his post, the way version control behaves in TFS 2010 has changed in a few significant ways. Our team was responsible for making the client code updates in response to those server changes and I tried to write down lessons we have learned. First of all – itemId. Before, it was a unique identification…

1

Using tf.exe in PowerShell ISE or other custom environments

Recently a few folks from our and other team tried working with TFS inside PowerShell ISE (http://blogs.microsoft.co.il/blogs/scriptfanatic/archive/2008/12/30/windows-powershell-integrated-scripting-environment-ise.aspx).What they discovered is that tf.exe thinks that its output is redirected and switches to noprompt mode. Which means that runningtf.exe checkin will check in the code instead of bringing up UI. Ouch.The problem is that ISE is really…

0

Resolve improvements in Dev10 – Server and Target edits

As you could notice in CTP1 or CTP2, new Resolve Dialog displays detailed information about selected conflict. This information is partially calculated on the background and can involve some time consuming operation. Right now they are: attempt to merge the content – we say if there are content change in both source and target, if…

1

Resolve improvements in Dev10 – Automerge All part2

TFS always creates conflict when rename is involved, even if it’s only on server/source branch. We expanded Automerge All, so it can automatically resolve those conflicts. We exclude from this, conflicts on folders, as those are rare and user should review them.If you can think of other ways of expanding “Automerge All”, please let us…

1