mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
post-outgoing BitKeeper file /home/sasha/src/bk/mysql/BitKeeper/post-outgoing
This commit is contained in:
parent
0c7038bddc
commit
5e9cbfe06a
1 changed files with 14 additions and 0 deletions
14
BitKeeper/post-outgoing
Normal file
14
BitKeeper/post-outgoing
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
shift
|
||||
REPO=`bk gethost`:`pwd`
|
||||
TO=dev@mysql.com
|
||||
if [ -f BitKeeper/etc/pushed -a "$BK_OUTGOING" = OK ]
|
||||
then (
|
||||
echo ${USER}@"$@"
|
||||
echo ""
|
||||
bk changes - < BitKeeper/etc/pushed
|
||||
) | mail -s "Outgoing from $REPO" $TO
|
||||
else
|
||||
echo ${USER}@"$@"| mail -s "Outgoing from $REPO = $BK_OUTGOING" $TO
|
||||
fi
|
Loading…
Add table
Reference in a new issue