6

Can patch files be read by TFS or visual studio? I'd like to either create a shelveset or apply the patch to a workspace in TFS.

2
  • To clarify your question: you have multiple version control systems. In one system you modify some code files and want to apply those changes to TFS also. Is that what you mean? Sep 21, 2010 at 3:32
  • Yes. The changes were made in GIT, the same code is also in TFS. I can sync the changes from TFS into GIT manually, but haven't found a good way to move the changes from GIT back into TFS. Sep 21, 2010 at 21:12

2 Answers 2

5

According to this question:

tf diff /format:unified [/shelveset:] >filename.diff

with tf.exe being usually here C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE (See tf Command-Line Utility Tool in Team Foundation Server).

  • You cannot import/use a patch file in TFS.
4

I created a feature request here: https://connect.microsoft.com/VisualStudio/feedback/details/631052/ability-to-import-or-use-a-unified-diff-patch-file-in-tfs

1
  • 1
    I want to upvote your microsoft connect issue, but the Terms of Service for microsoft connect worried me. Jan 13, 2011 at 17:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.