svndump 迁移

#源服务器
svnadmin   dump  /data/svn > svn.dump  
svnlook uuid  /data/svn  
    xxxx
#目标服务器         
svnadmin   create  /data/svn  
svnadmin   setuuid /data/svn xxxx  
svnadmin   load    /data/svn  <  svn.dump  
#如果遇到错误Dump stream contains a malformed header (with no ':') at '* Dumped revision 0.'
grep  --binary-files=text -v '^* Dumped revision'  svn.dump > svn1.dump  
mv svn1.dump svn.dump

#window小乌龟客户端切换副本地址
右键 relocate
#命令行切换副本地址
svn info              //获取URL地址  
svn switch --relocate  old_url  new_url