--- a/checker.py Sun Jul 03 23:56:46 2016 +0800
+++ b/checker.py Mon Jul 04 15:52:24 2016 +0800
- template = (r'# C&O commit: {rev}:{node} {branch}\n'
+ template = (r'# C&O commit: {rev}:{node}\n'
+ r'# C&O commit branch: {branch}\n'
r'# C&O commit date: {date|isodatesec}\n'
r'# C&O commit author: {author|person}\n'
r'# C&O commit message: {desc|firstline}\n')
--- a/incoming.py Sun Jul 03 23:56:46 2016 +0800
+++ b/incoming.py Mon Jul 04 15:52:24 2016 +0800
- m = re.match('^commit: (\d+):(\w+) (\w+)$', rest)
+ m = re.match('^commit: (\d+):(\w+)$', rest)
+ m = re.match('^commit branch: (.+)$', rest)
m = re.match('^commit date: (.+)$', rest)