You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2011/09/19 20:14:05 UTC

[Hadoop Wiki] Update of "HowToCommit" by MattFoley

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "HowToCommit" page has been changed by MattFoley:
http://wiki.apache.org/hadoop/HowToCommit?action=diff&rev1=16&rev2=17

   1. Commit the changes to trunk and note down the revision number, say 4001. (Revision number is displayed as response to your ''svn commit'' command).
   2. Check out the desired branch and execute this command from the root directory. {{{
  svn merge -r 4000:4001 https://svn.apache.org/repos/asf/hadoop/common/trunk .
- svn commit
+ # Now resolve any merge conflicts.  
+ # If major edits are needed, produce a new patch and upload it to the Jira.
+ svn diff CHANGES.txt # get all Jira numbers included in this merge
+ svn commit -m "merge <list all Jira numbers here>"
  }}}
+ 
+ Please be sure to include Jira number(s) in the commit message for merge commits.  Sometimes developers just put something like "merge -r 4000:4001" in the merge message, which fails to trigger the Jira/Subversion integration, so the Jira doesn't record the branch commit.  It is important to link to the Jira number, so that when looking at the Jira it will be clear that this patch has been merged to this branch.
+ 
  
  == Patches that break HDFS and MapReduce ==