Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > subtree merge

Discussion topic

Back to topic list

subtree merge

Author "Jeremy Mordkoff" <jlm at ZeeVee dot Com>
Full name "Jeremy Mordkoff" <jlm at ZeeVee dot Com>
Date 2009-10-05 17:38:36 PDT
Message Another newbie question

I have 9 major components in my code base, each with its own subdir at the top. I have been doing all of my merges from the top. So far so good.

Another developer was working in a project branch and merged to trunk, but he did the merge in the subdirectory 'ZV'. so now I have

[release@zaz1 trunk]$ svn pg svn:mergeinfo .

[release@zaz1 trunk]$ svn pg svn:mergeinfo ZV

Does this mean that the merge history for '.' will now be ignored when I'm merging 'ZV'? It does appear that way, because when I merged everything from rel_2_2_1 to trunk I got a couple hundred 'G' notices for files under ZV, but when all was said and done, svn diff said nothing had changed under 'ZV':

BTW 9697 is the revision that was copied to make branch rel_2_2_1 and 9709 is the tip of that same branch, but there are NO changes in this subdir in this branch.

[release@zaz1 trunk]$ svn merge $SVN/branches/rel_2_2_1
--- Merging r9698 through r9709 into 'ZV':
 G ZV/ZV_Viewer/extensi​ons/mediaplayers@zee​vee.com/chrome/conte​nt/vlc/player.html
 G ZV/ZV_Viewer/extensi​ons/mediaplayers@zee​vee.com/chrome/conte​nt/vlc/player.xul
 G ZV/ZV_Viewer/extensi​ons/mediaplayers@zee​vee.com/chrome/conte​nt/vlc/main.xul
 G ZV/plugins/mozilla_remote
--- Merging r9711 through r9715 into '.':
U lcast/components/cli​/src/CliSet.cxx
U lcast/components/mpe​g2/src/mpeg_ts.c
 G .
[release@zaz1 trunk]$
[release@zaz1 trunk]$ svn status
 M .
M lcast/components/cli​/src/CliSet.cxx
M lcast/components/mpe​g2/src/mpeg_ts.c

Is this to be expected? What do all the 'G's mean? Merged, right? But then there's no changes...so what was merged?

Besides forcing all merges to be done from the top (which is probably not reasonable), is there a way to clean this up? Could I just move the svn:mergeinfo entry from 'ZV' to the root if I am sure no other subdirectories had ANY changes in that project branch? Or is there an option to say ignore svn:mergeinfo entries in subdirectories? ... hmm...that feels like a 'bad idea'

In the end, it does appear that svn did the 'right thing' but I've already reverted these files because this has me worried.

Thanks for the help on my last question
Thanks in advance for any help on this one
apologies if this goes out in HTML format.


« Previous message in topic | 1 of 5 | Next message in topic »


Show all messages in topic

subtree merge "Jeremy Mordkoff" <jlm at ZeeVee dot Com> "Jeremy Mordkoff" <jlm at ZeeVee dot Com> 2009-10-05 17:38:36 PDT
     Re: subtree merge tylermr Tyler Roscoe 2009-10-06 08:20:10 PDT
         RE: subtree merge pilotbob Bob Archer 2009-10-06 08:33:42 PDT
         RE: subtree merge "Jeremy Mordkoff" <jlm at ZeeVee dot Com> "Jeremy Mordkoff" <jlm at ZeeVee dot Com> 2009-10-06 09:04:52 PDT
             RE: subtree merge -- solved I think "Jeremy Mordkoff" <jlm at ZeeVee dot Com> "Jeremy Mordkoff" <jlm at ZeeVee dot Com> 2009-10-06 10:37:53 PDT
Messages per page: