recently we moved to svn.
I have two questions here,
we had release and created tag TAG1. after a week there was a production issue and prod code base is TAG1, later on trunk we made several changes that we don't want to push to production, so the best way is here take code from TAG1 and do change, we have exported data from tag but not able to commit and we don't want to commit to that tag, need a separate branch after the release make another tag(TAG2) based on this branch then finally merge to Trunk. Merge to Trunk is not an issue. the issue is here how to create a branch from Tag based code and do commit changes?
We have releases for every two months, all these changes made directly on trunk, after the release we create a TAG and continues for next release. other end, we are going to start a new project XYZ that will release at year end(date not yet decided), here, this branch needs to create from previous TAG not from trunk because already made some changes on trunk for up coming release, how we we can achieve it?.
Thanks KV
To create a branch or a tag in a Subversion repository, do the following: From the main menu, choose VCS | Subversion | Branch or Tag. Alternatively, select the source folder in the SVN Repositories tool window and choose the Branch or Tag command from the context menu.
Creating a branch is very simple—you make a copy of your project tree in the repository using the svn copy command. Since your project's source code is rooted in the /calc/trunk directory, it's that directory that you'll copy. Where should the new copy live? Wherever you wish.
svn copy your.repo.URL/tags/your-tag-name your.repo.URL/branches/your-new-branch-name -m "message"
then to work on it
svn checkout your.repo.URL/branches/your-new-branch-name
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