For the uninitiated in subversion, it's a version control system that allows you to keep a history of file modifications. It also makes it fairly painless to create branches and merge the changes into other branches. If you aren't using version control for your projects, you really should be.
On the command line:
Checkout a copy of the Chipmunk source.
- Code: Select all
svn checkout http://chipmunk-physics.googlecode.com/svn/trunk/ chipmunk-physics-read-only
Syncronize your copy with the latest code from within subversion.
- Code: Select all
svn update
Create a patch file that holds all of your local changes. Must be run from within the Chipmunk directory. This does not include non-text changes like libraries and such unfortunately. Those have to be sent separately.
- Code: Select all
svn diff > patchfile
To make a patch against a specific release such as 5.2.x, I keep branches that have the latest code for that release. You can browse them here to find the path for the branch:
http://code.google.com/p/chipmunk-physi ... n/branches
Windows users desiring a GUI tool should check out Tortoisesvn:
http://tortoisesvn.tigris.org/
http://tortoisesvn.net/docs/release/Tor ... patch.html
