gibuu is hosted by Hepforge, IPPP Durham
GiBUU

Changes between Version 2 and Version 3 of HowtoPatches


Ignore:
Timestamp:
Jul 13, 2012, 3:06:04 PM (7 years ago)
Author:
jweil
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowtoPatches

    v2 v3  
    11= Handling Patches =
    22
    3 Patches are a useful concept for handling local code modifications. They can be handy e.g. for transferring changes from one branch to another (or from one computer to another).
     3Patches are a useful concept for handling local code modifications. They can be handy e.g. for transferring (uncommitted) changes from one branch to another (or from one computer to another).
    44
    55== 1) Producing a patch ==
     
    3333== 2) Applying a patch ==
    3434
    35 Once you have a patch file, you can apply it e.g. to another svn branch (or even to a directory which is not under version control). This is done via:
     35Once you have a patch file, you can apply it e.g. to another svn branch (or even to a directory which is not under version control) via:
    3636
    3737{{{
     
    4141This will apply the changes from the patch file to the current directory.
    4242
    43 == 3) Reverting a particular revision ==
     43== 3) Reverting a revision ==
    4444
    45 A particular revision can be reverted by producing a diff of that revision and appling it reversely ("-R"):
     45A committed revision can be reverted by producing a diff of that revision and applying it reversely ("-R"):
    4646
    4747{{{