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

Re: branch should become new trunk

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: Tue, 12 Jan 2010 17:43:40 +0000

2010/1/12 Bob Archer <bob.archer_at_amsi.com>:
>> > Well, reinterate can only be used if you have merged ALL of trunk
>> into branch. You can't cherrypick stuff from trunk into branch and
>> then --reintegrate the branch. It's not gonna allow it or work.
>> >
>> >
>> >> I am now at stage were "branch" should become the "new trunk",
>> so I
>> >> thought I should use "reintegrate branch", i.e. from URL =
>> branch,
>> >> working copy = trunk, but this gives me an error "Error:
>> >> Reintegrate can
>> >> only be used if revisions 340 through 802 were previously
>> ...."
>> >> when I
>> >> do a "test merge".
>> >>
>> >
>> > If this is the result you want and you don't want to merge
>> everything from trunk to branch you can just delete the trunk and
>> then copy the branch to trunk. This will get you where you want to
>> be.
>> >
>> Copy how?  Delete all in my trunk work copy, copy from branch work
>> copy
>> to trunk work copy and commit - wouldn't that mess up SVN?
>
> Use the repository browser. Delete trunk. Then copy the branch to trunk, then check out (or switch to) trunk. It won't mess up svn at all.

Err, why not just merge the branch back into trunk. Reintegrate is a
not-very-complete feature so you still have to use the tree merge in
many cases.

http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-merge.html#tsvn-dug-merge-tree

Simon

-- 
:       ___
:  oo  // \\      "De Chelonian Mobile"
: (_,\/ \_/ \     TortoiseSVN
:   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
:   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2436662
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-12 18:43:55 CET

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

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