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
1ccb9dd2
Commit
1ccb9dd2
authored
Mar 18, 2005
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't allow to commit as mysqldev
parent
515bd1fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
BitKeeper/triggers/pre-commit
BitKeeper/triggers/pre-commit
+11
-0
No files found.
BitKeeper/triggers/pre-commit
View file @
1ccb9dd2
#!/bin/sh
if
[
"
$BK_USER
"
=
"Administrator"
-o
"
$BK_USER
"
=
"mysqldev"
]
then
echo
"Error: you cannot commit as 'Administrator' or 'mysqldev' user."
echo
"as a workaround set BK_USER to your nickname"
echo
"e.g.: export BK_USER='bar'"
echo
""
echo
"Checkin FAILED!"
echo
"Set BK_USER and retry."
exit
1
fi
if
[
"
$REAL_EMAIL
"
=
""
]
then
echo
"Error: you must set REAL_EMAIL in your profile"
...
...
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