Changes between Version 1 and Version 2 of BazaarTheory
- Timestamp:
- 2009-08-16T19:21:06Z (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BazaarTheory
v1 v2 18 18 19 19 When you create a new branch, it will be consistent with the main repository. However, if you merge the mainline head into your branch, then you used the mainline as the right parent. This means that the mainline is not the main branch in your repository (because that passes through the left parent). In this case you must not push to the main repository! 20 21 == Merging a Feature Branch into the Mainline == 22 23 Since it is not possible to merge directly to the central repository ''M'', we must do the following in order to merge our private branch in ''A'': First create a clone ''M,,C,,'' of ''M'' with {{{bzr branch}}}. Then merge ''A'' into ''M,,C,,''. This means we take the mainline in ''M,,C,,'' as the left parent and the feature branch in ''A'' as the right parent. In the end the main branch in ''M,,C,,'' will be a superset of the main branch in ''M'' (the mainline). Now we are free to push from ''M,,C,,'' to ''M''.