Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
$ svn diff applications/product > product.diffpatch

will give us a patch file for all your changes in the applications/product sub-directory and save it as product.diffpatch (it is a plain text file).
If you have added new files, then use the "add" command first, then make the diff

Code Block
$ svn add applications/product/<my-file>
$ svn diff applications/product > product.diffpatch

You can also specify the exact files that you'd wish to include in your patch file, in case there are files that you have modified but do not wish to submit. For example, you can use

...

Code Block
$ svn diff applications/product/entity/ applications/product/script/org/ofbiz/shipment/shipment/ShipmentServices.xml > product-shipment.diffpatch

if you only want to make a patch file of the entity/ sub-directory and the ShipmentServices.xml file.

...