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

Re: Fwd: svn1.5 seems to fail simple merge-tracking scenario

From: Mark Phippard <markphip_at_gmail.com>
Date: Fri, 20 Feb 2009 14:35:13 -0500

In my experience they are fine. svn up still updates to latest.

On Fri, Feb 20, 2009 at 2:32 PM, Brian Erickson
<erickson_at_bauercontrols.com> wrote:
> In my case, we have 4 people working on a feature branch. At various
> checkpoints, defined by the systems manager, we re-integrate back to the
> trunk.
>
> If we remove and re-create the branch, what happens to our working
> copies?
>
> Thanks,
> Brian
>
>> -----Original Message-----
>> From: Mark Phippard [mailto:markphip_at_gmail.com]
>> Sent: Friday, February 20, 2009 11:24 AM
>> To: Nathan Nobbe; users_at_subversion.tigris.org
>> Subject: Re: Fwd: svn1.5 seems to fail simple merge-tracking scenario
>>
>> On Fri, Feb 20, 2009 at 11:20 AM, Stefan Sperling
>> <stsp_at_elego.de> wrote:
>> > On Fri, Feb 20, 2009 at 08:57:28AM -0700, Nathan Nobbe wrote:
>> >>
>> >> hi,
>> >>
>> >> we are migrating to svn1.5 at the office. ive been
>> running some tests
>> >> using the svn1.5.5 merge tracking and ive run a simple
>> bidirectional
>> >> merge test, and i dont see it leveraging the merge
>> tracking. let me
>> >> illustrate the flow, and open up the floor to folks who
>> can clarify
>> >> things for me.
>> >> imagine there is a file in a branch,
>> $branches/test/a.c, then a branch
>> >> is created from there,
>> >> svn cp $branches/test $branches/test-b
>> >> ok, now, we checkout both branchs, and make a change to a.c, in
>> >> test-b, and commit it.
>> >> cd test-b
>> >> vi a.c # add a line
>> >> svn commit a.c
>> >> then we merge back to upstream,
>> >> cd ..
>> >> svn up test
>> >> svn merge --reintegrate $branches/test-b test
>> >> svn commit -m 'merge --reintegrate test-b' test
>> >> now the change from test-b is in test. so now, we go
>> into test-b,
>> >> and
>> >
>> > Don't go on using $branches/test-b after you have reintegrated it.
>> > You want to svn rm $branches/test-b at this point.
>> > If you need it again, re-branch.
>> >
>> > See http://blogs.open.collab.net/svn/2008/07/subversion-merg.html
>>
>> The alternative is that you can use the svn merge
>> --record-only option to record the merge on test-b so that
>> subsequent merges do not attempt to merge back that revision.
>>
>> Personally, I think removing the branch and recreating
>> when/if there is more to do is cleaner.
>>
>> --
>> Thanks
>>
>> Mark Phippard
>> http://markphip.blogspot.com/
>>
>> ------------------------------------------------------
>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&
>> dsMessageId=1199151
>>
>> To unsubscribe from this discussion, e-mail:
>> [users-unsubscribe_at_subversion.tigris.org].
>>
>

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1200157
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-20 20:36:32 CET

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.