ideallorn

统计

最新评论

Dump&Load project cross repos in SVN

  • dump the source repos (sandbox)
        -bash-3.00$ sudo svnadmin dump /var/svnroot/sandbox > sbdump
...
* Dumped revision 1870.
* Dumped revision 1871.
* Dumped revision 1872.
  • filter the specified project from source repos dump file
        -bash-3.00$ sudo cat sbdump | svndumpfilter include msmp > msmpdump
...
-bash-3.00$ ls *dump
msmpdump sbdump
  • load the project to dest repos with specified parent path
        -bash-3.00$ sudo svnadmin load /var/svnroot/svn1 --parent-dir /trunk/src < msmpdump
...

posted on 2009-02-05 17:01 releng 阅读(152) 评论(0)  编辑 收藏 引用

只有注册用户登录后才能发表评论。