TFS: Updating branch with changes from main

From Visual Studio, open Source Control Explorer: View | Team Explorer Select your Team Project from Team Explorer, expand it, and double click Source Control In the left-hand pane of Source Control Explorer, select your Team Project. In the right-hand pane, find your mainline branch, right-click and select Merge… In the Target branch drop-down, select … Read more

Can I unshelve to a different branch in tfs 2008?

The Visual Studio Power Tools should let you do this. C:\src\2\Merlin\Main>tfpt unshelve /? tfpt unshelve – Unshelve into workspace with pending changes Allows a shelveset to be unshelved into a workspace with pending changes. Merges content between local and shelved changes. Allows migration of shelved changes from one branch into another by rewriting server paths. … Read more

Scripting TFS Command Line for Get Latest Version, Check Out and Check in, programmatically

Use tf.exe in the command line. In the following examples, the %PathToIde% is usually on a path like this: %ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE, or on Windows x64: %ProgramFiles(x86)%\Microsoft Visual Studio 10.0\Common7\IDE (depending on Visual Studio version and installation settings). Example for get: cd C:\TFS\Arquitectura “%PathToIde%\TF.exe” get $/Arquitectura/Main /recursive Example for checkout: cd C:\TFS\Arquitectura “%PathToIde%\TF.exe” checkout … Read more

How to revert (Roll Back) a checkin in TFS 2010

You have two options for rolling back (reverting) a changeset in Team Foundation Server 2010 Version Control. First option is using the User Interface (if you have the latest version of the TFS 2010 Power Tools installed). The other option is using the TFS 2010 version control command-line application: tf.exe rollback I have information about … Read more

difference between Product Backlog Item and Feature in Team Foundation work item types

It looks like you are using the Scrum process template. The TFS site has published some very brief information about Product Backlog Items and Features and the idea behind creating a new work item type. http://www.visualstudio.com/en-us/news/2013-jun-3-vso.aspx The difference between the two comes down to what granularity you want to work with your work items at: … Read more

TFS checkin error – could not find file

This will happen when TFS has some changes staged that no longer exist on the file system. For instance, if you add some files in Visual Studio (which adds them to the changes list), delete them directly from the file system, then attempt to check in the changes, it will complain that it could not … Read more

Change computer name for a TFS Workspace

This command run in the Developer Command Prompt for Visual Studio did the trick: tf workspaces /updateComputerName:MyOldComputerName /s:”http://MyServer:8080/tfs/MyCollection” It had to be run from the computer I wanted to assign the workspace to (that is how it gets the new computer name.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)