summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-02 23:25:26 +0000
committerChris Larson <clarson@kergoth.com>2004-11-02 23:25:26 +0000
commitc10abad1307a334f11d00daa7757791ad9050d1a (patch)
treed0b73f67d50a086a2f0880d1b605a2bb1cb5ed3c
parent83b4fcd8bbb8896e8f3a473f8c6c9222cc161ed9 (diff)
Make the CIA post-outgoing trigger obey a BK_SILENT variable, to supress notifications when doing syncs.
BKrev: 41881766xDUVK1E5ZuNrgAa3_Gnt7A
-rw-r--r--BitKeeper/triggers/post-outgoing.ciabot4
1 files changed, 4 insertions, 0 deletions
diff --git a/BitKeeper/triggers/post-outgoing.ciabot b/BitKeeper/triggers/post-outgoing.ciabot
index 223c56d1e4..60c2bb46d1 100644
--- a/BitKeeper/triggers/post-outgoing.ciabot
+++ b/BitKeeper/triggers/post-outgoing.ciabot
@@ -24,6 +24,10 @@
# Boston, MA 02111-1307, USA.
check_sanity () {
+ if [ X$BK_SILENT != X ]; then
+ return 1
+ fi
+
if [ X$BK_STATUS = XDRYRUN -o X$BK_STATUS = XNOTHING ]; then
return 1
fi