June 5th, 2010
A co-worker of mine commented that Tortoise has an easy way to export out the diff between two revisions and wondered if there was an easy way to do this on his mac. I replied “well you could write a script to parse an svn diff”. So here it is, ready for you to snag from github.
Instructions attached below from the README in github.
This file is designed to export the files that were modified or added between two svn revisions. It will output a corresponding zip file with the directory structure intact. Useful for when you need to push code but the server you are pushing to doesn’t have access to your repository.
It is reccomended that you set this to executable and add it to your path in your .profile (otherwise you will have to copy it to each repo)
OSX is not required but, it is a requirement that “svn” and “zip” are installed in the OS.