SVN增量备份1:svnsync
SVN增量备份一:svnsync???? 代码源库:?http://cvs-server.achievo.com:8001/svn/projects? ? 新建的代码库
SVN增量备份一:svnsync
?
??? 代码源库:?http://cvs-server.achievo.com:8001/svn/projects? ? 新建的代码库:?http://localhost/svn/projects
要求:?http://cvs-server.achievo.com:8001/svn/projects是开发的代码源库,?http://localhost/svn/projects是源库的镜像库,做增量备份。1. 创建bat文件pre-revprop-change.bat??
??echo "Changing revision properties other than svn:log is prohibited" >&2? ? exit 0? ?将pre-revprop-change.bat 拷贝到http://localhost/svn/projects?代码库本地目录?E:\SVN\svn\repositories\projects\hooks?下。?2. ?初始化同步配置:? ? 命令行: svnsync?http://localhost/svn/projects???http://cvs-server.achievo.com:8001/svn/projects????
3. 开始同步: svnsync sync?http://localhost/svn/projects????