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

Re: Help with constant conflicts

From: Stephen Butler <sbutler_at_elego.de>
Date: Fri, 13 May 2011 15:35:50 +0200

On May 13, 2011, at 13:41 , K.L. wrote:

> Hi,
>
> Having problems with merge.

[...]

> me_at_localhost /srv/www/svnbugs/branches/branch1 $ svn merge
> svn+ssh://example.com/var/svn/svnbugs/trunk
> --- Merging r4 through r5 into '.':
> A dir2

[...]

> me_at_localhost /srv/www/svnbugs/trunk $ svn merge
> svn+ssh://example.com/var/svn/svnbugs/branches/branch1
> --- Merging r4 through r7 into '.':
> C dir2
> A dir3
> Summary of conflicts:
> Tree conflicts: 1
> me_at_localhost /srv/www/svnbugs/trunk $ svn st
> M .
> C dir2
>> local add, incoming add upon merge
> A + dir3

[...]

> Is it a bug or we issue wrong commands?
>

The second merge was wrong. To merge branch1 changes back to
the trunk, use 'merge --reintegrate ^/branches/branch1'.

See the section "Reintegrating a branch" in the SVN Book:

  http://svnbook.red-bean.com/nightly/en/svn.branchmerge.basicmerging.html#svn.branchemerge.basicmerging.reintegrate

Regards,
Steve

--
Stephen Butler | Senior Consultant
elego Software Solutions GmbH
Gustav-Meyer-Allee 25 | 13355 Berlin | Germany
tel: +49 30 2345 8696 | mobile: +49 163 25 45 015
fax: +49 30 2345 8695 | http://www.elegosoft.com
Geschäftsführer: Olaf Wagner | Sitz der Gesellschaft: Berlin
Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194
Received on 2011-05-13 15:36:26 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.