Reputation: 1303
Is it possible to replace the trunk with a branch using TortoiseSVN?
Upvotes: 12
Views: 13898
Reputation: 183
From Tortoise svn, You can go to trunk, right click and select Copy to.
then, it will ask the url. So, you can put your branch url there.
Upvotes: 1
Reputation: 13984
Move the current trunk to some other place (/branch/oldtrunk), then move /branch/mybranch to /trunk, then move /branch/oldtrunk to /branch
With the command line client, this can be done with:
svn mv http://path/to/repo/trunk http://path/to/repo/branch/oldtrunk
svn mv http://path/to/repo/branch/mybranch http://path/to/repo/trunk
svn mv http://path/to/repo/branch/oldtrunk http://path/to/repo/branch/mybranch
Good luck!
Upvotes: 10