summaryrefslogtreecommitdiff
path: root/d/sys/lampion/local/sbin/post-commit
blob: 18cc3289b7c790139c61f11c46fe9d04b87790af (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/zsh

REPOS=$1
REV=$2
AUTHOR=$(svnlook author -r $REV $REPOS)

(
echo "SVN commit r$REV by $AUTHOR in $REPOS:"
svnlook log -r $REV $REPOS | sed -e '/^$/d' -e 's/^/| /'
svnlook dirs-changed -r $REV $REPOS | sed -e 's/^/> /'
) | /usr/local/sbin/apbteambot-say