MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Andrei Elkin Date:October 16 2006 8:04pm
Subject:bk commit into 4.1 tree (aelkin:1.2531)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of elkin. When elkin 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@stripped, 2006-10-16 23:04:46+03:00, aelkin@stripped +1 -0
  test 6, please ignore
  wl#0 text bug#1 text wl#2

  BitKeeper/triggers/post-commit@stripped, 2006-10-16 23:04:44+03:00, aelkin@stripped +19 -14
    fixing extraction.

# 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:	aelkin
# Host:	dsl-hkigw8-febefb00-148.dhcp.inet.fi
# Root:	/home/elkin/MySQL/BARE/mysql-4.1

--- 1.34/BitKeeper/triggers/post-commit	2006-10-16 23:04:54 +03:00
+++ 1.35/BitKeeper/triggers/post-commit	2006-10-16 23:04:54 +03:00
@@ -28,21 +28,26 @@ 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'`
-WL=`bk -R prs -r+ -h -d':C:' ChangeSet | sed -ne 's/^.*[Ww][Ll] *# *\([0-9][0-9]*\).*$/ WL#\1/p'`
-
-if [ "$BUG" = "" ]
-then
-  TO=dev-public@stripped
-  BS=""
-  BH=""
-else
-  TO=dev-bugs@stripped
-  BS=" BUG#$BUG"
-# need newline here
-  BH="X-Bug: $BUG
+ID=`bk -R prs -r+ -h -d':C:' ChangeSet | \
+    sed  -ne 's/\([Bb][Uu][Gg] *# *[0-9][0-9]*\|[Ww][Ll] *# *[0-9][0-9]*\).*/\1/
+               y/bgluw/BGLUW/
+               s/.*\([Bb][Uu][Gg] *# *[0-9][0-9]*\|[Ww][Ll] *# *[0-9][0-9]*\)/\1/
+               s/ *//gp'`
+case "$ID" in
+    BUG#*)
+	WL=""; 
+	BS=" $ID"
+	BH="X-Bug: `echo $ID | sed -ne 's/BUG#//p'`
 "
-fi
+	TO=dev-bugs@stripped;;
+    WL#*)
+	WL=" $ID"
+	BS=""
+	BH=""
+	TO=dev-public@stripped;;
+    *)
+	echo "Warning: neither BUG nor WL in the comments";;
+esac
 #++
 # dev-public@ / dev-bugs@
 #--
Thread
bk commit into 4.1 tree (aelkin:1.2531)Andrei Elkin16 Oct