This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
test:pullrequests [2013/07/18 10:18] – rhauck | test:pullrequests [2014/12/09 15:48] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 15: | Line 15: | ||
- In the test-github repository, pull from the repository listed in the Pull Request:< | - In the test-github repository, pull from the repository listed in the Pull Request:< | ||
* 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. | ||
+ | * :!: Note: You may see a message like: < | ||
- (Optional) To confirm you've pulled the changes from Github, compare your two local clones. < | - (Optional) To confirm you've pulled the changes from Github, compare your two local clones. < | ||
- Merge those commits < | - Merge those commits < | ||
Line 20: | Line 21: | ||
- Push to the test-master local clone < | - Push to the test-master local clone < | ||
- Switch to the root directory of the test-master < | - Switch to the root directory of the test-master < | ||
- | - (Optional) To confirm you've pulled the changes from the second local clone, again, compare your two local clones. < | + | - (Optional) To confirm you've pulled the changes from the second local clone, again, compare your two local clones. < |
- | - Merge those commits into your test-master clone < | + | - Check if the new branch created additional heads:< |
- | - Commit the merge < | + | cd ../ |
+ | hg heads | ||
+ | </ | ||
+ | - If there is more than one head, merge the branch: | ||
+ | hg merge | ||
+ | hg commit -m " | ||
+ | - or possibly rebase it - | ||
+ | hg rebase | ||
+ | </ | ||
+ | - If there is only one head, continue to the next step | ||
- Push the changes to the server: < | - Push the changes to the server: < |