summaryrefslogtreecommitdiff
path: root/BitKeeper/triggers
diff options
context:
space:
mode:
authorunknown <pem@mysql.com>2002-11-27 13:01:50 +0100
committerunknown <pem@mysql.com>2002-11-27 13:01:50 +0100
commit6a7f6fefa96ac78c6c94d44c43c637b5deb1330a (patch)
tree7a77dcd5e45acfb202ee6db6de64c40c43a32c32 /BitKeeper/triggers
parentb39752294b6fc55d702432187f3bb6ee0b3d6329 (diff)
downloadmariadb-git-6a7f6fefa96ac78c6c94d44c43c637b5deb1330a.tar.gz
Add the ChangeSet id to Subject: in all emails.
BitKeeper/etc/ignore: Added autom4te-2.53.cache/output.0 autom4te-2.53.cache/requests autom4te-2.53.cache/traces.0 bdb/dist/autom4te-2.53.cache/output.0 bdb/dist/autom4te-2.53.cache/requests bdb/dist/autom4te-2.53.cache/traces.0 bkpull.log build.log innobase/autom4te-2.53.cache/output.0 innobase/autom4te-2.53.cache/requests innobase/autom4te-2.53.cache/traces.0 pull.log to the ignore list
Diffstat (limited to 'BitKeeper/triggers')
-rwxr-xr-xBitKeeper/triggers/post-commit8
1 files changed, 5 insertions, 3 deletions
diff --git a/BitKeeper/triggers/post-commit b/BitKeeper/triggers/post-commit
index 50562ba5cc9..86a612acfcb 100755
--- a/BitKeeper/triggers/post-commit
+++ b/BitKeeper/triggers/post-commit
@@ -19,6 +19,8 @@ BK_STATUS=$BK_STATUS$BK_COMMIT
if [ "$BK_STATUS" = OK ]
then
+CHANGESET=`bk changes -r+ | sed -n 's/^ChangeSet@\([^,][^,]*\),.*/\1/p'`
+
#++
# dev-public@
#--
@@ -28,7 +30,7 @@ then
List-ID: <bk.mysql-4.0>
From: $FROM
To: $TO
-Subject: bk commit - 4.0 tree
+Subject: bk commit - 4.0 tree ($CHANGESET)
EOF
bk changes -v -r+
@@ -44,7 +46,7 @@ EOF
List-ID: <bk.mysql-4.0>
From: $FROM
To: $INTERNALS
-Subject: bk commit into 4.0 tree
+Subject: bk commit into 4.0 tree ($CHANGESET)
Below is the list of changes that have just been committed into a local
4.0 repository of $USER. When $USER does a push these changes will
@@ -71,7 +73,7 @@ EOF
List-ID: <bk.mysql-4.0>
From: $FROM
To: $DOCS
-Subject: bk commit - 4.0 tree (Manual)
+Subject: bk commit - 4.0 tree (Manual) ($CHANGESET)
EOF
bk changes -v -r+