REPOS="$1"REV="$2"export LANG=en_US.UTF-8/usr/bin/svn update /home/wwwroot/yswifi --username yangxc --password yangxc >>/tmp/svn_hook_log.txtecho ‘who am i‘,$REPOS,$REV >> /tmp_hook_var.txt
svn 同步脚本
原文:http://www.cnblogs.com/xkcp008/p/4466706.html