How to Create and Submit a Patch

From OpenCV on the Cell

Jump to: navigation, search


This page describes about how to create and submit a patch.

Against SVN trunk

To create patch for latest source code, you can use svn.

To generate diffs, check out a copy of latest svn trunk as follows:

$ svn co https://cvcell.svn.sourceforge.net/svnroot/cvcell/trunk

and apply your change.

After you have made the changes to the source, you can create the patch file as fllows:

$ svn diff > patchfile.patch

and submit that patch.

Against the Latest Release

If you have made the changes for releases, you can generate diff from released file.

To generate diff for release, you must prepare two copies of sourcecode: original source code, code that was applied your changes.

And run diff command as follows:

$ diff -urN /path/to/original /path/to/modified > patchfile.patch

And submit that patch.

Submit patch

After you get diffs, submit the patch from Sourceforge patch tracker.

Please describe about your patch, what intended, fixes or enhancements, generated from [trunk or release] and others.

Views
Personal tools
Toolbox