Usually, you should regularly re-integrate changes made in the trunk into the branch to avoid this situation.
Why don't you keep your previous branch and create a new one instead? A version in a structure is very often used, for example:
branches/task/version1.0 branches/task/version2.0 tags/task/version1.0 tags/task/version2.0 trunk
To do this using TortoiseSVN, move the branch to:
- opening repo browser (context menu,
TortoiseSVN β repo-browser ) - creating a directory branch / task / version1.0 (
Create folder for the task) - renaming branches / tasks to branches / task / version 1.0 (
Rename to task)
Then you can act as usual:
- (context menu in the paged trunk directory)
TortoiseSVN β Branch/Tag - specify
To URL new branch (branch / task / version2.0) - indicate whether you want to create a new branch from a working copy or to another location (I would strongly recommend moving the branch from HEAD first too).
(alternatively, you can use the repo browser and make Copy to from the outside line)
When the tools warn you, you still have to switch:
- (context menu in the same directory)
TortoiseSVN β Switch - specify
To URL new branch (branch / task / version2.0)
You will have something much cleaner.
If you decide to remove the branch anyway, you will avoid confusion during the merge by specifying the range of changes for the merge (one of the fields to be filled in by TortoiseSVN). Remember to exclude anything related to the remote branch. But honestly, I would avoid that.
Redglyph
source share