HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 3 and Version 4 of CreatePatch


Ignore:
Timestamp:
05/10/09 21:19:09 (6 years ago)
Author:
mmadia
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CreatePatch

    v3 v4  
    1414Congratulations! The generated patch is BePorter compatible. 
    1515 
    16 Note: when creating a patch from a svn or a similar repository, it is preferred to create the patch from the top-most directory. 
     16Note: when creating a patch from a svn or a similar repository, the developers of that software package will typically prefer it to be created from the top-most directory. However, BePorter currently requires the patch to be created in the parent of that top-most directory. 
     17 
    1718As example, image we wish to create a patch of Haiku's OptionalPackage file. 
     19Yes, I realize this is a horrible example.  
    1820{{{ 
    1921cd /path/haiku/ 
    20 svn diff build/jam/OptionalPackages > ~/OptionalPackage-<new-pkg>.patch 
     22cd ../ 
     23svn diff haiku/build/jam/OptionalPackages > ~/OptionalPackage-<new-pkg>.patch 
    2124}}} 
    22 A patch created in this manner is the preferred method, as it allows the developers to apply it from their top-most directory. 
    23  

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/