RE: Why is --reintegrate neccessary?
From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Thu, 23 Sep 2010 10:37:30 -0400
> > The critical paragraph is this one:
That is exactly correct. Since that is the expected case for a feature branch. That you are adding a feature to trunk so you want to be sure anything modified in trunk is brought into your branch to ensure the feature still works with any trunk changes.
There is really no magic in a reintegrate. It is simply a tree merge which compares HEAD of trunk to HEAD of branch. The same way you would have done it in 1.4. However, it has all these extra checks to ensure that you actually have merged all revs of the target path into the merge-from path.
> Otherwise, my feature branch would undo everything not merged from
Well... if you do a reintegration merge svn checks to ensure that everything from the branch you are re-integrating to has been merged into the branch. If it detects missing revisions it will abort with an error about missing revisions. So svn enforce your "process".
> > > Given a very simple repo with three revisions like that:
It does do that.. see above. It checks the mergeinfo on the branch to ensure that it includes all the revisions made to trunk since the branch was created.
You should really run some of these use cases through a test repo. That is the best way to understand what is going on and how it works.
Hth,
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.