How to create a patch in TortoiseSVN while no file is checked out? How to create a patch in TortoiseSVN while no file is checked out? windows windows

How to create a patch in TortoiseSVN while no file is checked out?


A unified diff is a patch file.

  1. Using TortoiseSVN, right-click on your working folder and select “Show Log”
  2. Select the two revisions (Ctrl-Click)
  3. Right-click on either of the highlighted revisions and select “Show differences as unified diff”

To save the changed files with the folder structure.

  1. Using TortoiseSVN, right-click on your working folder and select “Show Log”
  2. Select the two revisions (Ctrl-Click)
  3. Select "Compare revisions." This would list the modified files between the revisions in a dialog box
  4. Select all the files in the dialog that comes up. Right-click on the selected files and select "Export selection to…"

This should export the modified files with the folder structure.


What you're describing is a diff between two subversion revisions. Check out the SVN Book's section on svn diff to see how to do it.


If you just want colleagues to get the most up-to-date files, they should get it from the svn server using svn-checkout. If for some reason they can't access your svn server, you can also right-click and choose svn-export; this gives you a set of all the files in the containing folder without any of the hidden .svn directories.