Changes between Initial Version and Version 1 of ApplyingPatches


Ignore:
Timestamp:
Mar 8, 2008, 4:58:28 AM (16 years ago)
Author:
pagameba
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ApplyingPatches

    v1 v1  
     1= How to Apply a Patch =
     2
     3If you have a patch that you wish to be apply to your local svn copy of the [wiki:DevelopersCorner#UsingSVN Fusion repository], all you need to do is put the patch file the root of your {{{fusion}}} directory and call:
     4{{{
     5 patch -p0 < myPatch.patch
     6}}}
     7
     8There's a chance that the patch you're trying to apply starts from an absolute path reference coder's development machine.  The patch command accommodates this situation by trimming leading patch segments from the file references using the {{{-p0}}} to {{{-p6}}} options where the number indicates how many path segments to trim.  See more details at http://linux.die.net/man/1/patch 
     9
     10Patches can be downloaded from trac by clicking the "Original Format" link at the bottom of any trac patch attachment.
     11
     12''For instructions on how to '''create''' a patch, see CreatingPatches''
     13