From c10abad1307a334f11d00daa7757791ad9050d1a Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 2 Nov 2004 23:25:26 +0000 Subject: [PATCH] Make the CIA post-outgoing trigger obey a BK_SILENT variable, to supress notifications when doing syncs. BKrev: 41881766xDUVK1E5ZuNrgAa3_Gnt7A --- BitKeeper/triggers/post-outgoing.ciabot | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BitKeeper/triggers/post-outgoing.ciabot b/BitKeeper/triggers/post-outgoing.ciabot index 223c56d..60c2bb4 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 -- 2.7.4