Commit 54100938 authored by monty@narttu.mysql.fi's avatar monty@narttu.mysql.fi

Put changeset number in emails

parent 1621dd98
...@@ -18,13 +18,15 @@ BK_STATUS=$BK_STATUS$BK_COMMIT ...@@ -18,13 +18,15 @@ BK_STATUS=$BK_STATUS$BK_COMMIT
if [ "$BK_STATUS" = OK ] if [ "$BK_STATUS" = OK ]
then then
CHANGESET=`bk -R prs -r+ -h -d':I:' ChangeSet`
echo "Commit successful, notifying developers at $TO" echo "Commit successful, notifying developers at $TO"
( (
cat <<EOF cat <<EOF
List-ID: <bk.mysql> List-ID: <bk.mysql>
From: $FROM From: $FROM
To: $TO To: $TO
Subject: bk commit into 3.23 tree Subject: bk commit into 3.23 tree ($CHANGESET)
EOF EOF
bk changes -v -r+ bk changes -v -r+
...@@ -36,7 +38,7 @@ EOF ...@@ -36,7 +38,7 @@ EOF
List-ID: <bk.mysql> List-ID: <bk.mysql>
From: $FROM From: $FROM
To: $INTERNALS To: $INTERNALS
Subject: bk commit into 3.23 tree Subject: bk commit into 3.23 tree ($CHANGESET)
Below is the list of changes that have just been committed into a local Below is the list of changes that have just been committed into a local
3.23 repository of $USER. When $USER does a push these changes will 3.23 repository of $USER. When $USER does a push these changes will
...@@ -63,7 +65,7 @@ EOF ...@@ -63,7 +65,7 @@ EOF
List-ID: <bk.mysql-3.23> List-ID: <bk.mysql-3.23>
From: $FROM From: $FROM
To: $DOCS To: $DOCS
Subject: bk commit - 3.23 tree (Manual) Subject: bk commit - 3.23 tree (Manual) ($CHANGESET)
EOF EOF
bk changes -v -r+ bk changes -v -r+
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment