Friday, October 7, 2011

Make an branch for code that was already changed in svn

Case:
SVN. You have changed code and need to make a quick backup of it to branch

Solution:
1. create destination folder on svn
2. in source_folder "svn add [files that are new for svn]"
3. svn copy http://svn.server.com/svn/destination source_folder

All changes will be copied and committed to branch, trunk will not be changed,
just do on source_folder "svn revert -R ."

No comments:

Post a Comment