From 06245b4508a3d0109e28aff6c12b05890c28b554 Mon Sep 17 00:00:00 2001 From: "mwagner@here.mwagner.org" <> Date: Tue, 12 Oct 2004 15:08:58 -0500 Subject: post-commit: Added catch for (example) WL#1234 into bk commit subjects --- BitKeeper/triggers/post-commit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'BitKeeper/triggers') diff --git a/BitKeeper/triggers/post-commit b/BitKeeper/triggers/post-commit index a1b6b819e63..3f347e4c596 100755 --- a/BitKeeper/triggers/post-commit +++ b/BitKeeper/triggers/post-commit @@ -21,6 +21,7 @@ then 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]*\).*$/ BUG#\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 @@ -37,7 +38,7 @@ fi List-ID: From: $FROM To: $TO -Subject: bk commit - $VERSION tree ($CHANGESET)$BUG +Subject: bk commit - $VERSION tree ($CHANGESET)${BUG}${WL} EOF bk changes -v -r+ -- cgit v1.2.1