Using patch files with TFS (patch file is from subversion, git, etc)
Can patc开发者_开发技巧h 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.
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.
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
精彩评论