Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
test:pullrequests [2013/07/18 12:29]
rhauck Added note about the non-fatal bookmarks error
test:pullrequests [2013/07/18 12:42]
rhauck corrected the last part about merging - only required if there are multiple heads
Line 21: Line 21:
   - Push to the test-master local clone <​code>​hg push ../​test-master/</​code>​   - Push to the test-master local clone <​code>​hg push ../​test-master/</​code>​
   - Switch to the root directory of the test-master <​code>​cd ../​test-master/</​code>​   - Switch to the root directory of the test-master <​code>​cd ../​test-master/</​code>​
-  - (Optional) To confirm you've pulled the changes from the second local clone, again, compare your two local clones. <​code>​hg out</​code>​ Again, you should see all of the commits that are in the Pull Request +  - (Optional) To confirm you've pulled the changes from the second local clone, again, compare your two local clones. <​code>​hg out</​code>​ Again, you should see all of the commits that are in the Pull Request ​plus the your commit from the merge in the step above. 
-  - Merge those commits into your test-master clone <​code>​hg ​merge</​code>​ +  - Check if the new branch created additional heads:<​code>​ 
-  - Commit the merge <​code>​hg commit -m "​Merging ​local clones"</​code>​+cd ../​test-master 
 +hg heads 
 +</​code>​ 
 +  - If there is more than one head, merge the branch: ​<​code>​ 
 +hg merge 
 +hg commit -m "​Merging ​PR # xxx" 
 +- or possibly rebase it - 
 +hg rebase 
 +</​code>​ 
 +  - If there is only one head, continue to the next step
   - Push the changes to the server: <​code>​hg push</​code>​   - Push the changes to the server: <​code>​hg push</​code>​
 
test/pullrequests.txt · Last modified: 2014/12/09 15:48 (external edit)
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki