summaryrefslogtreecommitdiff
path: root/BitKeeper
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-02-17 13:45:20 -0800
committerunknown <jimw@mysql.com>2005-02-17 13:45:20 -0800
commit0b72f74ca7e878266f0fe9e25a9d9e28b5a16a8e (patch)
treea660df66de57dd3beeaf479fc76a61ec9ee1ff42 /BitKeeper
parentf40d2cd62b889b5d35da7e0047fccb49e781c4bf (diff)
parentf1595c34e17486e97b75af1f1842f0c2db4720c2 (diff)
downloadmariadb-git-0b72f74ca7e878266f0fe9e25a9d9e28b5a16a8e.tar.gz
Merge mysql.com:/home/jimw/my/mysql-4.0-no-merge-spam
into mysql.com:/home/jimw/my/mysql-4.0-clean
Diffstat (limited to 'BitKeeper')
-rwxr-xr-xBitKeeper/triggers/post-commit7
1 files changed, 7 insertions, 0 deletions
diff --git a/BitKeeper/triggers/post-commit b/BitKeeper/triggers/post-commit
index a38b1f5a068..d2a4f9153b2 100755
--- a/BitKeeper/triggers/post-commit
+++ b/BitKeeper/triggers/post-commit
@@ -19,6 +19,13 @@ BK_STATUS=$BK_STATUS$BK_COMMIT
if [ "$BK_STATUS" = OK ]
then
+HAS_ACTUAL_CHANGES=`bk cset -r+ -d | grep -v "^#"`
+if [ "$HAS_ACTUAL_CHANGES" = "" ]
+then
+ echo ChangeSet had no real changes, not sending emails
+ exit
+fi
+
CHANGESET=`bk -R prs -r+ -h -d':P:::I:' ChangeSet`
BUG=`bk -R prs -r+ -h -d':C:' ChangeSet | sed -ne 's/^.*[Bb][Uu][Gg] *# *\([0-9][0-9]*\).*$/\1/p'`