Articles

SVN Patch and Export

There are two ways you can apply patches using Tortoise SVN - either you can create a patch before committing your changes or you can export the changes since a particular revision. I find the latter more useful for a batch of changes.

The first thing you need to do is to view the log for all your files. Then select all the revisions you want including the previous one (so that you get changes made since that revision).

Right click on your selection and select Compare revisions. In the "Changed Files" dialog box select all the files and then right click again and choose "export to".

This allows you to update your live site for example, with just the files that were modified rather than overwriting everything or keeping a manual list.