Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using patch files with TFS (patch file is from subversion, git, etc)

Tags:

git

svn

patch

tfs

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.

like image 466
Frank Schwieterman Avatar asked Sep 21 '10 02:09

Frank Schwieterman


1 Answers

According to this question:

  • You can create unified diff patch files with:
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.
like image 63
VonC Avatar answered Nov 15 '22 06:11

VonC