首页 > 技术文章 > svn 同步脚本

xkcp008 2015-04-29 18:09 原文

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.txt
echo 'who am i',$REPOS,$REV >> /tmp_hook_var.txt

推荐阅读