We have these Mercurial repositories:
Trunk
|
|
|---------myapp_1_0_23 (created off release 1.0.23)
|
|---------myapp-newstuff (created off rel 2.0.4)
Release schedule (nothing yet released):
- v1.0 from
myapp_1.0.23
, any add'l changes in this repo will get merged to the trunk - v2.0 from the trunk
- v3.0 or v4.0 released based on a merge of
myapp-newstuff
and the trunk. At the time of the merge the trunk may have v2.0 code or some new features that we'll release from the trunk as v3.0
After making changes in myapp_1.0.23
, we merge them to the trunk, but let's say we also need them in myapp-newstuff
so we also merge them there. What then happens when we eventually merge myapp-newstuff
code to the trunk?
The trunk already has changes made in myapp_1.0.23
so what happens when we merge those same changesets from myapp-newstuff
back to the trunk? Will Mercurial be smart enough to know those changesets are already in the trunk?