[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: another mergeinfo question

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Thu, 12 Aug 2010 10:38:54 -0400

> I have two instances of mergeinfos in the root of my tree showing a
> wider range of changes merged in than a merge info in a
> subdirectory.
> Does svn merge these merge infos together?
>
> Example
>
> Mergeinfo in /zcode/trunk shows that
> /zcode/branches/rel_2:1124-1406 was merged
> Mergeinfo in /zcode/trunk/lcast shows that
> /zcode/branches/rel_2/lcast:1124-1388 was merged
>
> So was 1389-1406 merged in the lcast directory or not?
>

Well, from my amateur understanding if the merge into /zcode/trunk/lcast was done before the merge into /zcode/trunk/lcast when the top level merge was done the mergeinfo on /zcode/trunk/lcast should have been elided. My only guess is that the person that did the top level merge reverted the property change to the /zcode/trunk/lcast folder since they figured there was no change in that folder.

Once again, from my understanding you can remove that merge info from /zcode/trunk/lcast because it is included in the /zcode/trunk folder.

YMMV... check your logs and I expect you will see that the merge for 1124-1406 into /trunk did not include a change to /trunk/lcast to elide the property... which it should of. Also, you might want to setup a test scenerio of this by dumping your repo or just create a similar situation in a test repo.

Also, you might want to train your people to not merge from project sub-folders to prevent child-node/file mergeinfo.

BOb
Received on 2010-08-12 16:39:39 CEST

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.