summaryrefslogtreecommitdiff
path: root/BitKeeper/triggers
diff options
context:
space:
mode:
authorserg@serg.mylan <>2005-04-05 15:16:15 +0200
committerserg@serg.mylan <>2005-04-05 15:16:15 +0200
commit3c3defaa0a50ef6a21c803bd9145473890a92967 (patch)
tree3584a090b6a4c47216786f4631f466066a703d47 /BitKeeper/triggers
parent3098b93ef8e4f5154f5b701c59a1daa265b2c633 (diff)
downloadmariadb-git-3c3defaa0a50ef6a21c803bd9145473890a92967.tar.gz
add changeset key to the bk commit mail
Diffstat (limited to 'BitKeeper/triggers')
-rwxr-xr-xBitKeeper/triggers/post-commit3
1 files changed, 3 insertions, 0 deletions
diff --git a/BitKeeper/triggers/post-commit b/BitKeeper/triggers/post-commit
index d2a4f9153b2..4c28b408658 100755
--- a/BitKeeper/triggers/post-commit
+++ b/BitKeeper/triggers/post-commit
@@ -27,6 +27,7 @@ then
fi
CHANGESET=`bk -R prs -r+ -h -d':P:::I:' ChangeSet`
+CSETKEY=`bk -R prs -r+ -h -d':KEY:' ChangeSet`
BUG=`bk -R prs -r+ -h -d':C:' ChangeSet | sed -ne 's/^.*[Bb][Uu][Gg] *# *\([0-9][0-9]*\).*$/\1/p'`
if [ "$BUG" = "" ]
@@ -51,6 +52,7 @@ List-ID: <bk.mysql-$VERSION>
From: $FROM
To: $TO
Subject: bk commit - $VERSION tree ($CHANGESET)$BS
+X-CSetKey: <$CSETKEY>
$BH
EOF
bk changes -v -r+
@@ -67,6 +69,7 @@ List-ID: <bk.mysql-$VERSION>
From: $FROM
To: $INTERNALS
Subject: bk commit into $VERSION tree ($CHANGESET)$BS
+X-CSetKey: <$CSETKEY>
$BH
Below is the list of changes that have just been committed into a local
$VERSION repository of $USER. When $USER does a push these changes will