hghooks: remove b2g users from commit-message hook (
bug 1366667) r?gps
MozReview-Commit-ID: 3N4l0yoJYTu
--- a/hghooks/mozhghooks/commit-message.py
+++ b/hghooks/mozhghooks/commit-message.py
@@ -65,19 +65,17 @@ def is_good_message(ui, c):
if is_vendor_ctx(c):
ui.write('(%s looks like a vendoring change; ignoring commit message '
'hook)\n' % short(c.node()))
return True
desc = c.description()
firstline = desc.splitlines()[0]
- if c.user() in ["ffxbld", "seabld", "tbirdbld", "cltbld",
- "Gaia Pushbot <release+gaiajson@mozilla.com>",
- "B2G Bumper Bot <release+b2gbumper@mozilla.com>"]:
+ if c.user() in ["ffxbld", "seabld", "tbirdbld", "cltbld"]:
return True
if trySyntax.search(desc):
message("Rev {rev} uses try syntax. (Did you mean to push to Try "
"instead?)")
return False
# Match against [PATCH] and [PATCH n/m]