进入目标服务器:
编辑sync同步必要hooks脚本pre-revprop-change,(进入版本库hooks目录)
cp pre-revprop-change.tmpl pre-revprop-change
修改权限,允许执行
chmod a+x pre-revprop-change
编辑(注释所有可用代码)
vi pre-revprop-change
追加如下代码
exit 0
################
svnsync init file:///opt/uouo123 svn://xxxxx:123/uouo123 --source-username xiangliangyu --source-password blog.uouo123.com --sync-username xiangliangyu --sync-password blog.uouo123.com --no-auth-cache
svnsync sync file:///opt/uouo123 --source-username xiangliangyu --source-password blog.uouo123.com --sync-username xiangliangyu --sync-password blog.uouo123.com --no-auth-cache --non-interactive