On Sunday, January 5, 2003, at 11:39 PM, Michael Wood wrote:
> On Sun, Jan 05, 2003 at 05:59:19PM -0800, Rob Clark wrote:
>> now I am trying to merge the changes back to the trunk by:
>>
>> 1) svn co https://.../trunk
>> 2) cd trunk
>> 3) svn merge https://.../trunk https://.../branches/OBJS1 .
>
> I have never used merge and have not read the book :) but I believe
> this
> should be:
>
> $ svn merge -r2:5 https://.../branches/OBJS1 .
>
> You don't want to merge the differences between trunk and the branch
> into your working copy (since trunk might have changed since you
> branched.) You want to merge the differences between the revision that
> you branched and the revision that you finished working on the branch
> into your working copy and then commit that to the trunk.
>
> Your command should still not segfault, though, and maybe it should
> even
> work if no changes have been made to trunk after rev 1.
in my case there were no changes on the trunk, but you bring up a
point... if there were changes on the trunk, how is a good way to
figure out the point where the branch was created for the purposes of
merging back to the trunk? It seems like this should be something
obvious... how can I view the version tree?
-- Rob
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 7 09:50:56 2003