#!/bin/bash
REPOS="$1"
REV="$2"
export LANG=zh_CN.UTF-8
BASEPATH=/www/wwwroot/chenlong
WEBPATH="$BASEPATH/"
svn update $WEBPATH --username chenlong  --password Aa123456 --no-auth-cache
echo `date`,`whoami`,$REPOS,$REV >> /tmp/svn_hook.log
exit 0