Ah, you must NOT have created tags when you branched. If done
correctly, you should've
- Created a tag on the branch to signify when you branched
> svn cp //repos/project/branches/SC999
- Do development on the branch, so now there's a delta between branch
and trunk code
- Commit changes to branch
- Merge delta into trunk
> cd /trunk_workspace
> svn merge //repos/project/tags/SC999-trunk
> (resolve conflicts)
> svn commit
What you can do is make a new branch, tag the branch as above, then
"manually" copy the files from your "other branch workspace" into this
new branch workspace, commit, then merge.
You also need to tag the trunk so you can merge trunk deltas into
> svn cp //repos/project/trunk //repos/project/tags/trunk-branchname
Read more info on branches and tags.
>From: Steve.Nelson@uk.delarue.com [mailto:Steve.Nelson@uk.delarue.com]
>Sent: Wednesday, December 20, 2006 7:58 AM
>Subject: Merging branch into trunk
>From reading the svn book, it seems that merging a branch back
>into the trunk takes the form of providing svn merge with
>three arguments - the original revision, the new revision, and
>the current working copy.
>I've created a branch /branches/SC999 and copied a program
>into it, and made and committed changes to foo.p.
>If I want to merge /branches// into /trunk, I try, from
>within my working copy:
>svn merge /trunk@23 /branches/SC999@26
>After this, nothing seems to have changed - it seems no diff
>took place, and no change.
>I've tried various alternatives:
>svn merge https://svntest/repos/devrep/dlr/trunk/dxzz00em0001.p@23
>svn merge -r 23:26 https://svntest/repos/devrep/dlr/trunk
>All seem to have no effect. What am I doing wrong?
>De La Rue plc
>De La Rue House, Jays Close
>Basingstoke, Hampshire, RG22 4BS
>(T) +44 (0)1256 605179
>(M) +44 7764 286 356
>(F) +44 (0)1256 605094
>This e-mail and any files attached are strictly confidential,
>may be legally privileged and are intended solely for the
>addressee. If you are not the intended recipient, note that
>any disclosure, copying, distribution, or use of the contents
>of this message and attachments is strictly prohibited. Please
>notify the sender immediately by return email, phone or fax
>and then delete the e-mail and any attachments immediately.
>The views and or opinions expressed in this e-mail are not
>necessarily the views of De La Rue plc or any of its
>subsidiaries and the De La Rue Group of companies, their
>directors, officers and employees make no representation about
>and accept no liability for its accuracy or completeness.
>Please ensure you have adequate virus protection before you
>open any attachment as the De La Rue Group of companies do not
>accept liability for any viruses.
>To unsubscribe, e-mail: firstname.lastname@example.org
>For additional commands, e-mail: email@example.com
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Wed Dec 20 15:14:59 2006