summaryrefslogtreecommitdiff
path: root/BitKeeper/triggers/post-outgoing
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-01-06 20:40:07 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-01-06 20:40:07 +0000
commit857f7f2f6466a0db36a663cd542779bbacd892ed (patch)
tree189ef874fd9bf4594b4c07e02ec9151a99a510ae /BitKeeper/triggers/post-outgoing
parent5e49eb31580e6b9374f9a0ad00df69f31a727077 (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/01/06 15:38:50-05:00 handhelds.org!kergoth Trigger cleanup. 2005/01/06 15:34:46-05:00 handhelds.org!kergoth test trigger. 2005/01/06 15:27:00-05:00 handhelds.org!kergoth Another trigger test. 2005/01/06 15:25:37-05:00 handhelds.org!kergoth Correct the permissions on the cia post outgoing trigger. 2005/01/06 15:22:37-05:00 handhelds.org!kergoth Bugfix in the outgoing trigger 2005/01/06 15:20:56-05:00 handhelds.org!kergoth Bugfix in the outgoing trigger 2005/01/06 15:19:21-05:00 handhelds.org!kergoth Bugfix in the outgoing trigger 2005/01/06 15:16:01-05:00 handhelds.org!kergoth Trigger updates. 2005/01/06 14:33:52-05:00 handhelds.org!kergoth Test cset for bk triggers. BKrev: 41dda227eA_vQY_qU1rMB9abvxBNSw
Diffstat (limited to 'BitKeeper/triggers/post-outgoing')
-rw-r--r--BitKeeper/triggers/post-outgoing64
1 files changed, 0 insertions, 64 deletions
diff --git a/BitKeeper/triggers/post-outgoing b/BitKeeper/triggers/post-outgoing
deleted file mode 100644
index b9c00d6b86..0000000000
--- a/BitKeeper/triggers/post-outgoing
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/sh
-
-LIST=openzaurus-cvslogs@lists.sf.net
-
-exit 0
-
-if [ X"$BK_STATUS" = XDRYRUN -o X"$BK_STATUS" = XNOTHING ]
-then exit 0
-fi
-
-if [ "$BK_SIDE" = server ]
-then U=$BKD_USER
- H=$BKD_HOST
- R=$BKD_ROOT
-else U=$BK_USER
- H=$BK_HOST
- R=$BK_ROOT
-fi
-R_OUT=`echo $BKD_ROOT | sed "s,.*/,,"`
-
-if !(echo $BKD_HOST|grep -q bitkeeper.com)
-then exit 0
-fi
-
-if [ $BK_SIDE != client ]
-then exit 0
-fi
-
-echo "Sending notification mail to $LIST..."
-
-(
- echo ${U}@${H} fired the $BK_TRIGGER trigger in $R_OUT
- case "$BK_TRIGGER" in
- pre-outgoing) VERB=Sending;;
- post-outgoing) VERB=Sent;;
- pre-incoming) VERB=Receiving;;
- post-incoming) VERB=Received;;
- pre-resolve) VERB=Resolving;;
- pre-commit) VERB=Committing;;
- post-commit) VERB=Committed;;
- pre-apply) VERB=Applying;;
- esac
- if [ X"$BK_PENDING" != X ]
- then (
- echo $VERB the following deltas
- echo
- bk prs - < $BK_PENDING
- ) | sed 's/^/ /'
- fi
- if [ X"$BK_CSETLIST" != X ]
- then (
- echo $VERB the following changesets
- echo
- bk changes -v - < $BK_CSETLIST
- ) | sed 's/^/ /'
- fi
- if [ X"$BK_CSETS" != X ]
- then (
- echo $VERB the following changesets
- echo
- bk changes -v -r$BK_CSETS
- ) | sed 's/^/ /'
- fi
-) | mail -s "${U}@${H}:${R} - $BK_EVENT" $LIST