I don't know the regular drill, but I've recently worked through how to capture a simple diff/patch file.
The last example in the Codeblocks manpage has a simple typo. It references a .cpp file, that the context would suggest was meant to be a .cbp file.
If someone would be interested in commiting the change it would make my first patch file seem just a little bit more special. Like I said I don't know the Codeblocks drill. I have worked with technical drawings and the system for tracking and documenting changes made the little changes like this, the most hateful thing, because the overhead of documenting it actually made the fix non-productive.
From within the trunk folder...
patch -p0 < manpage.patch
http://bentfx.com/manpage.patch--- src/src/codeblocks.1 2011-09-26 06:59:41.700778880 -0700
+++ src/src/codeblocks.1.fixed 2011-09-26 07:03:11.188781482 -0700
@@ -57,7 +57,7 @@
.nf
codeblocks \-\-build \-\-target="Debug" \-\-no\-batch\-window\-close myproject.cbp
-Batch rebuild everything in myproject.cpp:
+Batch rebuild everything in myproject.cbp:
.nf
codeblocks \-\-rebuild myproject.cbp
.SH AUTHOR