Repository dump, load and change location


/ Published in: SVN
Save to your folder(s)



Copy this code and paste it in your HTML
  1. # Dump repo
  2. svnadmin dump file:///var/svn/repo/project > project_svn.dump
  3.  
  4. # Load repo
  5. svnadmin load file:///var/svn/repo/new_project < project_svn.dump
  6.  
  7. # Change repository location from project to new_project
  8. svn switch --relocate file:///var/svn/repo/project file:///var/svn/repo/new_project

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.