Apply a custom set of changes from one TFS instance to another

What is the easiest way to apply changes from a specific set of changes from one TFS instance to another?

I want to get some kind of patch file from instance A that I can apply to instance B. Since there are two different instances, the traditional branch / merge approach cannot be used. And, as far as I know, TFS does not support patch files in the traditional sense of Unix.

Do I really need to check the change set in instance A and manually commit the corresponding files, which I can then extract to the source tree of instance B?

+5
source share
3 answers

, "" - TFS. , , , :

  • .
  • .
  • , .
+3

, tf diff. , . .

+1

I wrote a blog post about a similar problem in which I used the TF.exe and 7Zip commands to create a TFS patch file , which is then applied to another TFS server or workspace. I posted Powershell scripts on Github , which you can use to modify any pending changes on one workspace, and then apply them to another server. It will need to be changed to use a set of changes instead of pending changes, but this should not be too complicated.

+1
source

All Articles