Change commit email subject to be the first line of change log.
Fedora 14
svnmailer-1.0.8
1. vi /usr/lib/python2.7/site-packages/svnmailer/notifier/_mail.py
2. Add the following blue line at L:334.
subject = dosubject('files')
if len(subject) > short_length:
subject = dosubject('dirs')
subject = "%s %s" % (subject, self.getLog())
# reduce to the max ...
if max_length and len(subject) > max_length:
subject = "%s..." % subject[:max_length - 3]
2011年3月21日
Hack svnmailer: Subject with "Log"
標籤: Services
訂閱:
張貼留言 (Atom)
0 意見:
張貼留言