svn merge [source svn location] -c 444,469,480
> -----Original Message----- > From: emerson [mailto:echofloripa.y...@gmail.com] > Sent: 05 July 2010 17:38 > To: Andy Levy; users@subversion.apache.org > Subject: Re: Applying multiple commits done to a branch to > another branch > > Hi > > I was told that I could use the following syntax to merge > different revisions at once: > > svn merge [source svn location] -c 444 -c 469 -c 480 > > However, when I tried using this syntax I found out that all > merges are done against the initial state of the current > folder which resulted in conflicts, as in some cases the > differents commits were related to the same bit of code. > > Is there anyway to have in one command line a behaviour that > would take in account the previous revisions? > > thanks > Emerson > > On 17 June 2010 14:53, emerson <echofloripa.y...@gmail.com> wrote: > > On 17 June 2010 13:29, Andy Levy <andy.l...@gmail.com> wrote: > >> On Thu, Jun 17, 2010 at 05:38, emerson > <echofloripa.y...@gmail.com> wrote: > >>> Hi Guys > >>> > >>> Thanks for the answers. > >>> First Andy, yes, we put more than the story code on the > commits :) > >>> We are using svn 1.4.4 ont he server, so to be able to > keep track of > >>> the ancestors logs we will probably need to upgrade. > >> > >> Note that the 1.4 series has not been supported for quite > some time, > >> and when 1.7 is released, 1.5 support will be dropped. You > definitely > >> ought to upgrade. > >> > > > > We are going to move to the latest stable 1.6.11. > > > >>> Still, I believe we need some tool to search the logs for that > >>> especific #xxxx code of the story. > >>> Correct me if I am wrong, but from there I would have to > collect all > >>> the revision numbers, and apply them in a single merge > manually? Is > >>> there any way to automate this? > >> > >> If each story gets its own branch, then you don't have to > worry about that. > > > > We might in the future go for a bigger isolation level like > this, but > > at this point we will work with two different branches, a unstable > > (which would be our current trunk) and a stable, which will get > > promoted a story at a time. > > > > We needed something like this: > > > > Ex: searchsvnapp http://[repo location root] #s1322 > > > > result: > > revisions: 4233,4249,4313 > > > > This would then be copied and pasted in a merge command that would > > allow to apply all the revisions at once. > > > > I know that tortoise can do that, how can that be done on > the command > > line? Or through some API maybe? > > > > BTW, Is there any way to use the merge command to apply several > > revisions at once? > > > > Thanks > > Emerson > > > >>> On 16 June 2010 22:40, Daniel Becroft > <djcbecr...@gmail.com> wrote: > >>>> On Thu, Jun 17, 2010 at 4:20 AM, Bob Archer > <bob.arc...@amsi.com> wrote: > >>>>> > >>>>>> You're describing a normal usage of merging. > >>>>>> http://svnbook.red-bean.com/nightly/en/svn.branchmerge.html > >>>>>> > >>>>>> You don't want to redo all those commit messages, you want the > >>>>>> merge to be aware of the history behind everything that's been > >>>>>> done (which, if you're using 1.5 or later, is taken > care of), so > >>>>>> that svn log can trace back & all those messages fall > right in line. > >>>>> > >>>>> Really... I didn't know this happened. If you look at > the log of trunk where you have merged in from branch won't > it only show the merge as a single rev with the message you > made in the merge commit. How will you be able to trace the > log back through the changes made in branch? > >>>> > >>>> It does, but not by default. You need to use the > >>>> '-g/--use-merge-history' switch. > >>>> > >>>> > http://svnbook.red-bean.com/nightly/en/svn.branchmerge.advanced.htm > >>>> l#svn.branchmerge.advanced.logblame > >>>> > >>>> Cheers, > >>>> Daniel B. > >>>> > >>> > >> > > > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit > http://www.messagelabs.com/email > ______________________________________________________________________ >