Changes

Jump to: navigation, search

Real World Mozilla Incremental Build Lab

179 bytes added, 18:03, 6 October 2009
Apply a patch
$ cd mozilla
$ patch -p0 < patch.txt
 
(unless you are using hg checkout/patches then you want to look here [https://developer.mozilla.org/en/Mercurial_FAQ#How_can_I_diff_and_patch_files.3f for updated instructions])
* Here '''-p0''' means strip 0 leading directories from each filename in the patch. We do this because we are in the same location (i.e., ./) as the person who created the patch. If the directories were mis-aligned, we would have to strip leading directories using -p1, -p2, etc.

Navigation menu