Tech Blog

HOWTO generate diff files from subversion

Posted At : March 3, 2009 12:46 AM

Here's a nice and quick way to generate a diff file from subversion and store it on your local machine.

svn diff filepath/myFile.ext > saveDirPath/myFile.ext.diff

Where filePath is the local path to your working directory in which your file is located. And saveDirPath is the path where you want to save your diff file.

Diff files can be very useful when contributing to open source projects.

You can also get a list of files changed between revisions.

Marko