Changes between Version 3 and Version 4 of CreatePatch
- Timestamp:
- 05/10/09 21:19:09 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CreatePatch
v3 v4 14 14 Congratulations! The generated patch is BePorter compatible. 15 15 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. 16 Note: 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 17 18 As example, image we wish to create a patch of Haiku's OptionalPackage file. 19 Yes, I realize this is a horrible example. 18 20 {{{ 19 21 cd /path/haiku/ 20 svn diff build/jam/OptionalPackages > ~/OptionalPackage-<new-pkg>.patch 22 cd ../ 23 svn diff haiku/build/jam/OptionalPackages > ~/OptionalPackage-<new-pkg>.patch 21 24 }}} 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
