= Using diff =
Sometimes, for various reasons, you can't use bzr or CVS. In this case, you can get the difference between two Bugzilla ''directories'', one which contains the base Bugzilla, and one which contains your modified Bugzilla.
Here's how to use diff to make a patch:
2. Now, Bugzilla contains lots of things that you ''don't'' want to diff, like the localconfig file and the data/ directory. So you want to exclude all of those from your diff. Here's a command that will do that:
diff -Nru --exclude=data --exclude='*.orig' --exclude=CVS --exclude=localconfig --exclude=.bzr --exclude=.htaccess --exclude='.#*' --exclude='*.rej' ''old/'' ''new/'' > patch.diff
Where ''old/'' is the base Bugzilla before your modifications, and ''new/'' is the Bugzilla that you modified.