Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
06245b45
Commit
06245b45
authored
Oct 12, 2004
by
mwagner@here.mwagner.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post-commit:
Added catch for (example) WL#1234 into bk commit subjects
parent
cc57252b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
BitKeeper/triggers/post-commit
BitKeeper/triggers/post-commit
+2
-1
No files found.
BitKeeper/triggers/post-commit
View file @
06245b45
...
...
@@ -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: <bk.mysql-
$VERSION
>
From:
$FROM
To:
$TO
Subject: bk commit -
$VERSION
tree (
$CHANGESET
)
$
BUG
Subject: bk commit -
$VERSION
tree (
$CHANGESET
)
$
{
BUG
}${
WL
}
EOF
bk changes
-v
-r
+
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment