Open main menu

CDOT Wiki β

Changes

Real World Mozilla Incremental Build Lab

16 bytes added, 11:31, 28 February 2007
no edit summary
or, go to the parallel location in your ''objdir'' and run make there
$ cd mozilla/''objdir''/netwerk/protocol/http/src
$ make
* Now create a patch containing the changes you just made using the so called 'unified' format (-u), with 8 lines of context. By default the diff is printed to stdout, so you should redirect it to a file:
$ cd mozilla/netwerk/protocol/http/src
$ cvs diff -u8p . > patch.txt
* Trade patches with someone else in the class (use http://pastebin.mozilla.org and IRC), and take turns trying to apply their patch to your tree:
$ cd mozilla/netwerk/protocol/http/src
$ patch -p0 < patch.txt
* Now try backing-out this same patch. To do this you can call patch with the -R or --reverse option to tell it to swap the old and new files, basically reversing the patch.
$ cd mozilla/netwerk/protocol/http/src
$ patch -R -p0 < patch.txt