title: Apply a diff from one branch as a patch to another in Visual Studio TFS
body: <p>We have a project in which we've been doing some work in a Branch for version 6.1. One of the changes made in the 6.1 branch (changeset 1800) was a bugfix, and someone decided it's urgent enough to merit a patch to our 6.0 production release.</p>
  
  <p>Now, changes were made to the file in question both before changeset 1800 and after it. What they want is for JUST the patch to be applied to 6.0.</p>
  
  <p>As per <a href="http://linux.die.net/man/1/patch" rel="noreferrer">http://linux.die.net/man/1/patch</a>, it seems that the best thing to do would be to <strong>create a diff file</strong> by comparing changeset 1800 to 1799, and then <strong>apply that diff file as a patch</strong> to 6.0. I don't even know where to begin doing this in TFS.</p>
  
  <p>As a fallback plan, I can always just go through the differences in changeset 1800 by hand and copy them into the latest version of production to patch it, but I'd like to do this properly if possible.</p>
  
  <p><em>Aside</em>: 
  I understand that by applying just a diff, you risk the fact that some of the code involved in the 1799>1800 diff relies on code that was only established between the current production version and changeset 1799, but that can easily be verified by quickly building and testing production after the diff patch is applied. We aren't worried about that.</p>