svn hookでrepos up
repos up するようにした。id:woremacx さんに教えてもらった。
thanks.
#!/bin/sh REPOS="$1" REV="$2" LOG=`/usr/bin/svnlook log -r $REV $REPOS` AUTHOR=`/usr/bin/svnlook author -r $REV $REPOS` LANG=C /usr/bin/svnlook changed -r $REV $REPOS | egrep '^[A-Z] *member/htdoc/[0-9a-zA-Z-]+/' 1>/dev/null 2>&1 if [ x"$?" == x"0" ]; then cd /panda/in.lazy-people.org/htdoc svn --username foo --password bar up 1>/dev/null 2>&1 fi