views:

114

answers:

2

We have a situation where we need to take a tag of our project and make it the new trunk. We have taken the existing trunk and made it into a separate branch. My question is this - once we made a branch of the trunk, can we just delete the trunk and then copy the tag in question into the trunk? Is there a safer way of doing it?

Any advice would be greatly appreciative!

+4  A: 

You could just use svn move (which basically does a copy and delete).

svn move /path/to/repo/tag/foo /path/to/repo/trunk
seth
+5  A: 

Hello,

You can do that without any risk, because that operation is also logged by SVN so if then you need to rollback something, you can.

Lucas S.