Apply patch files
From Shrubbery
patch is a useful utility that will update a fileset with a set of differences, created by a diff utility.
As an example, you have some code you have been working on in one subversion checkout, and you want to apply it to another source tree:
mysourcedir1@machine> svn diff | patch -p0 mysourcedir2
You can also pipe the output of diff into a patch file. This is useful for sending your code to someone else without comitting. Or, for backing up your work without committing.
Eclipse supports applying patch files, and IDEA will as of version 7.x.

