[Python-checkins] hooks: All issue numbers have 4+ digits.
local
python-checkins at python.org
Tue Mar 8 17:58:51 CET 2011
http://hg.python.org/hooks/rev/da97dd02d101
changeset: 56:da97dd02d101
user: Georg Brandl <georg at python.org>
date: Tue Mar 08 17:58:51 2011 +0100
summary:
All issue numbers have 4+ digits.
files:
hgroundup.py
diff --git a/hgroundup.py b/hgroundup.py
--- a/hgroundup.py
+++ b/hgroundup.py
@@ -35,7 +35,7 @@
from email.mime.text import MIMEText
VERBS = r'(?:\b(?P<verb>close[sd]?|closing|fixe[sd]|fixing|fix)\s+)?'
-ISSUE_PATTERN = re.compile(r'%s(?:#|\bissue|\bbug)\s*(?P<issue_id>[0-9]+)'
+ISSUE_PATTERN = re.compile(r'%s(?:#|\bissue|\bbug)\s*(?P<issue_id>[0-9]{4,})'
% VERBS, re.I)
COMMENT_TEMPLATE = "${commit_msg}\n${changeset_url}"
--
Repository URL: http://hg.python.org/hooks
More information about the Python-checkins
mailing list