Let us say I have a trunk and I create a branch (branch A) of it on Sunday making Revision 10.
On Monday I work on both branch A and the trunk (branch A is responsible for Revision 11,12,& 15 while trunk is responsible from 13, 14, & 16).
Tuesday I created a new branch (branch B) from the trunk (Revision 17).
Wednesday I work on both branch A and branch B (branch A is responsible for Revision 18-24, & 26 while branch B is responsible for Revisions 25 & 27).
On Thursday I delete the old trunk and replace it with branch B (not merge, just delete trunk, and copy branch B to trunk)(Revision 28).
If on Friday I want to merge the new trunk into branch A, how would I do that? I would want all changes that were made to the various trunks and branch B into branch A. What revision numbers would I use?
Any help would be greatly appreciated!
branch A, i.e. your merge target
working copy, click the TortoiseSVN
merge menu item, select “merge a
range of revisions”
merge from; leave the “list of
revisions” text box empty
will automatically determine which revisions are eligible for merging.
Review the modifications made to your
working copy by the merge. Test!
Please note that a sane work-flow shouldn’t involve deleting and recreating the trunk. I’ve never done that.