branche to become trunk

plalonde
plalonde
Hi, we are looking to get a branch to become trunk in our repository.    Is there a way to accomplish that without having to merge branch to trunk ?  And this, without loosing the branch svn history ?    - Pascal

Last updated

JNiven
JNiven
Hi Pascal    You could "branch" (i.e. "svn move") trunk to become a new branch:svn move http://example.com/svn/trunk http://example.com/svn/branches/old_trunk -m "Moving trunk to old_trunk"  svn move http://example.com/svn/branches/branch1 http://example.com/svn/trunk -m "Moving main branch to trunk"  My syntax is probably rusty; you should - of course - test the above before attempting it on your production repository.    Cheers  John
plalonde
plalonde
Sounds good, I'll give it a try.
ken2012
ken2012
Remember what should be remembered, and forget what should be forgotten.Alter what is changeable, and accept what is mutable.

1-4 of 4

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.