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

Re: merge

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-03-06 20:12:38 CET

Sean Rock wrote:
> Hello
>
> I don't use a lot of the advanced features and so I have a question about
> merging. Sorry if this has been asked before.
>
> First, I have a website under /trunk. I have created a branch to add some
> specific funtionality that is not implemeneted yet, and not really sure when
> it will be implemented. However, I'm still making updates and amends to the
> trunk and need to merge these changes to keep the branch up to date.
>
> I have merged the two frequently however I have made a few commits to the
> trunk and have not merged lately. So my question is this, when merging
> changes in the trunk to a branch, must I merge from the last revision that
> was merged or is it ok to merged from the latest revision?
>
> E.g.
>
> Trunk -> last merged INTO branch from trunk r132
>
> Trunk current revision is now 143 after a few updates.
>
> Is it ok to merge r143 into the branch? Will this pickup all the changes? Or
> do I need to merge each revision into the branch?

You need to merge each revision you made changes on the trunk.
You can of course just specify a revision range, e.g. 132-143.
Just make sure that you don't merge a revision twice! Subversion doesn't
track merges (yet).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Mar 6 20:12:50 2007

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.