Below is the list of changes that have just been committed into a local
4.1 repository of psergey. When psergey does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2114 05/03/15 12:33:53 sergefp@stripped +1 -0
post-commit trigger:
Fix in WL# and BUG# extraction logic: get the first (instead of last) occurence of
WL# or BUG# as it is more likely to contain bug/WL number that current cset is a
part of.
BitKeeper/triggers/post-commit
1.33 05/03/15 12:33:50 sergefp@stripped +2 -2
Fix in WL# and BUG# extraction logic: get the first (instead of last) occurence of
WL# or BUG# as it is more likely to contain bug/WL number that current cset is a
part of.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: sergefp
# Host: newbox.mylan
# Root: /home/psergey/mysql-4.1-test-commit
--- 1.32/BitKeeper/triggers/post-commit 2005-02-18 00:46:32 +03:00
+++ 1.33/BitKeeper/triggers/post-commit 2005-03-15 12:33:50 +03:00
@@ -27,8 +27,8 @@
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'`
-WL=`bk -R prs -r+ -h -d':C:' ChangeSet | sed -ne 's/^.*[Ww][Ll] *# *\([0-9][0-9]*\).*$/ WL#\1/p'`
+BUG=`bk -R prs -r+ -h -d':C:' ChangeSet | awk '//{match($0, "[Bb][Uu][Gg] *# *([0-9][0-9]*)",a); if (a[1]) print a[1] }'`
+WL=`bk -R prs -r+ -h -d':C:' ChangeSet | awk '//{match($0, "[Ww][Ll] *# *([0-9][0-9]*)",a); if (a[1]) print a[1] }'`
if [ "$BUG" = "" ]
then
| Thread |
|---|
| • bk commit into 4.1 tree (sergefp:1.2114) | Sergey Petrunia | 15 Mar |