dev@wadl.java.net

Creating patches with add, remove, move etc.

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Tue, 23 Oct 2007 15:50:27 -0400

Team,

I am glad we are using patches to exchange code for review.

Here is a proposed patch process and instructions.

*Creating a Patch*

    * Make changes locally in your workspace
    * Do not commit any changes until the patch is reviewed and
      approved. Note minor changes need not go through patch process
    * For new files "svn add" them
    * For deleted files "svn remove" them
    * For moved files "svn move" them
    * cd to top level project directory (wadl)
    * Do an "svn update" to sync with latest version of repo. resolve
      any conflicts if needed.
          o Note latest revision number for later step
    * Make the patch
          o svn diff -r <latest rev> . > patch.txt"
            This makes sure that all adds, removes and moves are
            included in the patch.
    * Email patch to dev_at_wadl.dev.java.net list for team review
          o Designate a primary reviewer
          o Include description of problem and fix


*Applying a Patch*

    * cd to top level project directory (wadl)
    * patch -p0 < patch.txt


Please let me know if you have any questions.

-- 
Regards,
Farrukh
Web: http://www.wellfleetsoftware.com