Is it possible to replace the trunk with a branch using TortoiseSVN?
Creating Branches in TortoiseSVN To create a branch with TortoiseSVN, select the folder in your working copy which you want to copy to a branch or tag, then right-click and select the command TortoiseSVN → Branch/Tag....
If you're currently inside the directory vendors , which was branched to vendors-with-fix , and you'd like to switch your working copy to that branch: $ svn switch http://svn.red-bean.com/repos/branches/vendors-with-fix . U myproj/foo. txt U myproj/bar.
Subversion Branching StrategiesSubversion branches (SVN branches) allow your team to work on multiple versions of your code simultaneously. Developers can test out new features without impacting the rest of development with errors and bugs. SVN's “branch” directory runs parallel to the “trunk” directory.
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!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With