When you associate a changeset with a workitem TFS defaults to resolving the workitem. I want to default to associating it.
I know in TFS 2008 you had to remove resolve check-in action using something like this http://www.woodwardweb.com/vsts/000230.html but I thought that I read somewhere that there was a better way to do this in TFS 2010. Does anyone know whether this is the case?
TIA, Bill
Select that folder in TFS explorer and right click. you will see the option "Checkin Pending changes.." Show activity on this post. In the team explorer open up the source control tab, then right click on the route folder and select Check in Pending Changes.
Without using power tools or command line: ensure Tools->Options->Source Control->Visual Studio Team Foundation Server UNCHECK Get latest version of item on check out. View the history of project folder in Source Control Explorer and right click on the changeset to roll back to and choose Get This Version.
Hi, You can do "tfpt rollback" which will pend the necessary changes. If you want the rollback to be committed by a different service/person than the service/person who runs tfpt, have it/them shelve the changes first.
As you will know, when you want to relate a work item with your check-in in TFS, you have to choose between two CheckIn actions: Associate or Resolve. The first one, Associate, is used to just link the work item with the future changeset. The second one, Resolve, also automatically closes the work item on check-in.
With Visual Studio 2010 you can achive this very easy:
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\TeamFoundation\SourceControl\Behavior @ResolveAsDefaultCheckinAction = "False"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With