RE: Big problem with svn:mergeinfo, feature branches and merging (reintegrate)
From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Thu, 1 Jul 2010 14:33:36 -0400
> Hi,
Because you did a merge at a level other than the root folder level. svn will update merge info on any folder or file that already has mergeinfo on it even if there is no change to that file/folder. The info will be elided (removed) if the mergeinfo of the child matches the merge info of the parent. You can google for mergeinfo elision to find out more about this.
> - how to prevent this problem?
Only merge to the root folder of the project. If you merge a sub-folder or single file you are going to get merge info on that file. If you only want to merge changes to a single file you should cherrypick the revisions that contains the changes you want rather than merging a sub-folder or file.
> - and how can I resolve this problem ( I don't want to delete
As long as you are sure that the merge info in the /trunk folder is valid for ALL the child folders and objects then yes, you can delete it on the child objects.
Thankfully in 1.7 this problem will go away because mergeinfo will only be placed/updated on files that have changes in them. But, we are probably 6-12 months away from that release. (from what I read on the dev list)
BOb
|
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.