summaryrefslogtreecommitdiff
path: root/BitKeeper/post-outgoing
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2000-10-18 18:50:38 -0600
committerunknown <sasha@mysql.sashanet.com>2000-10-18 18:50:38 -0600
commit5e9cbfe06a4a6553a3838dcba3f78ccf906d130a (patch)
tree002803f235f12ba12d1ac26ee9a651a04530d86e /BitKeeper/post-outgoing
parent0c7038bddcd12eec5990252559624a239e97672c (diff)
downloadmariadb-git-5e9cbfe06a4a6553a3838dcba3f78ccf906d130a.tar.gz
post-outgoing BitKeeper file /home/sasha/src/bk/mysql/BitKeeper/post-outgoing
Diffstat (limited to 'BitKeeper/post-outgoing')
-rw-r--r--BitKeeper/post-outgoing14
1 files changed, 14 insertions, 0 deletions
diff --git a/BitKeeper/post-outgoing b/BitKeeper/post-outgoing
new file mode 100644
index 00000000000..5b16dec6c15
--- /dev/null
+++ b/BitKeeper/post-outgoing
@@ -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