That tool is called svnsync. There are some documentations around but not much tutorial.
Let's pretend that your project's source code is currently hosted at https://svn.old.com and wanted it to transfer at https://svn.new.com.
So, how do we migrate the source code? Simple. First, install Slik-Subversion from Slik-SVN.com. Now, follow the next procedure.
- Run a Command Prompt
- Type-in: svnsync initialize https://svn.new.com https://svn.old.com/trunk/
- Then type-in: svnsync synchronize --source-username mynewsvn_usr --source-password mynewsvn_pwd --sync-username myoldsvn_usr --sync-password myoldsvn_pwd https://svn.new.com
Of course, you will have to edit the following to apply on your situation.
- mynewsvn_usr to your real username at your https://svn.new.com site
- mynewsvn_pwd to your real password at your https://svn.new.com site
- myoldsvn_usr to your real username at your https://svn.old.com site
- myoldsvn_pwd to your real password at your https://svn.old.com site
- https://svn.old.com to your real old project repository
- https://svn.new.com to your real new project repository
1 comment:
Command 3) should be like this:
svnsync synchronize --source-username myoldsvn_usr --source-password myoldsvn_pwd --sync-username mynewsvn_usr --sync-password mynewsvn_pwd https://svn.new.com
Post a Comment