svn钩子 新版
REPOS="$1"
REV="$2"
LOG="/d01/log/svnhook"
SVN="/usr/bin/svn"
WWWROOT="/d01/www";
svnlook changed -r $REV $REPOS |awk -F ' ' "{
system("$SVN" " up " "$WWWROOT""/"$2);
system("/usr/bin/svn up /d01/www");#ok
}";
REPOS="$1"
REV="$2"
LOG="/d01/log/svnhook"
SVN="/usr/bin/svn"
WWWROOT="/d01/www";
svnlook changed -r $REV $REPOS |awk -F ' ' "{
system("$SVN" " up " "$WWWROOT""/"$2);
}";