Forum OpenACS Development: Re: Best way to create cvs diffs for submitting patches?

Collapse
Posted by Jeff Davis on
You don't need to copy over the files to a current checkout, you could submit a diff from your cvs archive although you need to excercise some care not to pull in any customization that is site specific and not suitable for openacs generally.

In general what we are shooting for is a context diff that is properly formatted to feed to the patch program and contains a change set that is small enough and close enough to the existing HEAD or release branch to be applied automatically.

If you have not made the changes on a current checkout, the next best thing is a diff against the baseline you used for the site (since it will just be the changes you made). If you take the copying route you run the risk of generating a patch which will back out other people changes if other people have made changes to the same file which have been committed to openacs.org.