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

Re: SV: Can't get merge to work as suggested

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-09-03 19:51:33 CEST

"Tomas Sandkvist" <tomas.sandkvist@protang.se> writes:

> svn merge c:\svn_repository\projekt_A\trunk\Radtest.txt@59
> c:\svn_repository\projekt_A\branches\branch1\Radtest.txt@53
>
> Now the response is:
>
> U Radtest.txt

This is the most common 'newbie' error with merging. :-)

You DO NOT WANT to compare the 'tip' of each branch!

You want to compare the *base* of the branch with the *tip* of the
branch, and merge that change into you trunk working copy.

If you compare the branch-tip and trunk-tip, that change includes too
many things, some of which you do not want. Yes, it includes your
branch changes, but it also includes the *removal* of the trunk
changes.

The svn book talks about this common misunderstanding. It's the last
section on this page:

   http://svnbook.red-bean.com/html-chunk/ch04s03.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 3 19:53:29 2003

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.