Differences

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

Link to this comparison view

Next revisionBoth sides next revision
test:pullrequests [2013/05/28 17:24] – created page for merging PRs rhaucktest:pullrequests [2013/05/29 15:34] – Corrected steps - no need to merge branches rhauck
Line 14: Line 14:
   - In the test-github repository, pull from the repository listed in the Pull Request:<code>cd test-github</code><code>hg pull git://github.com/<git_user>/csswg-test.git</code>   - In the test-github repository, pull from the repository listed in the Pull Request:<code>cd test-github</code><code>hg pull git://github.com/<git_user>/csswg-test.git</code>
     * The first time you do this will take a loooong time as it exports the hg data to git format (long as in 3-4 hours, the progress extension helps you see what's going on). This is a one-time operation; subsequent pull requests happen quickly.      * The first time you do this will take a loooong time as it exports the hg data to git format (long as in 3-4 hours, the progress extension helps you see what's going on). This is a one-time operation; subsequent pull requests happen quickly. 
-    * Push the Pull Request branch into the 'test-masterrepository: <code>hg push -B <branch_name> ../test-master  (<branch_name> should be 'submissions/<git_user>')</code> +  (Optional) To confirm you've pulled the changes from Github, compare your two local clones. <code>hg out</codeYou should see all of the commits that are in the Pull Request 
-  - Delete the bookmark created for the new branch: <code>hg bookmark -d <branch_name></code> +  - Merge those commits <code>hg merge</code> 
-  - cd back to the 'test-master' repository and check if the new branch created additional heads:<code>cd ../test-master</code><code>hg heads</code> +  - Commit the merge <code>hg commit -m "Merging PR #XX - https://github.com/w3c/csswg-test/pull/XX"</code> 
-  - If there's only one headcontinue to step 10otherwise, merge the branch:<code>hg merge</code><code>hg commit -m "Merging PR # xxx"</code> - or possibly rebase it  <code>hg rebase</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> 
 +  - (Optional) To confirm you've pulled the changes from the second local cloneagaincompare your two local clones. <code>hg out</code> Again, you should see all of the commits that are in the Pull Request 
 +  - Merge those commits into your test-master clone <code>hg merge</code> 
 +  - Commit the merge <code>hg commit -m "Merging local clones"</code>
   - 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 by 127.0.0.1
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki