 >         --pretty=medium %s" % last
 >     diff_cmd = "diff --patch-with-stat -m --no-color --find-copies-harder \
 >         --ignore-space-at-eol %s %s" % (first, last)
-469a851
+444,447d882
+< # Sends pair-wise diffs for a path of revisions. Also records all revision on
+< # the path as seen.
+< #
+< # Only used in manual mode now.
+448a884,888
+>     '''
+>     Sends pair-wise diffs for a path of revisions. Also records all revision on
+>     the path as seen.
+>     Only used in manual mode now.
+>     '''
+456d895
+< # Sends a commit notifications for a set of revisions.
+457a897,900
+>     '''
+>     Sends a commit notifications for a set of revisions.
+>     '''
+> 
+467d909
+< # Sends a summary mail for a set of revisions.
+468a911,913
+>     '''
+>     Sends a summary mail for a set of revisions.
+>     '''
+469a915
 >     (out, fname) = makeTmp()
-473c855,857
+473c919,921
 <     (out, fname) = generateMailHeader("%s's head updated: %s" % (head, subject[0]))
 ---
 >     # Start with empty message
 >     message.init()
 >     message.generateMailHeader("%s's head updated: %s" % (head, subject[0]))
-475,476c859,860
+475,476c923,924
 <     print >>out, "Branch '%s' now includes:" % head
 <     print >>out, ""
 ---
 >     message.addLine("Branch '%s' now includes:" % head)
 >     message.addLine("")
-479c863,864
+479c927,928
 <         print >>out, "    ", git("show -s --pretty=oneline --abbrev-commit %s" % rev)[0]
 ---
 >         message.addLine("    " +
 >             str(git("show -s --pretty=oneline --abbrev-commit %s" % rev)[0]))
-481c866,868
+481c930,932
 <     sendMail(out, fname)
 ---
 >     # print whole message to file
->     print >>out, message.getMessage()
+>     print >> out, message.getMessage()
 >     message.sendFile(out, fname)
-484a872,876
+483a935,939
+> # pylint: disable=E1101
 > mail = Mail(Config.smtpserver, Config.smtpport,
 >             Config.smtplogin, Config.smtppassword, Config.smtpssl)
 > #
 > message = MailWrapper(mail)
-> 
-561c953,954
+489c945
+<         print >>sys.stderr, "[Option %s: %s]" % (name, Config.__dict__[name])
+---
+>         print >> sys.stderr, "[Option %s: %s]" % (name, Config.__dict__[name])
+561c1017,1018
 <         path = git(["rev-list", "--reverse --date-order", new_rev, "^%s" % old_rev])
 ---
 >         path = git(["rev-list",
 >             "--reverse --date-order", new_rev, "^%s" % old_rev])
-575a969
-> 

>         '''
>         Adds message tag
>         '''
>         if Config.colordiff:
>             formatted = '<br><b>%-11s:</b> %s' % (key, value)
>             self.addLine(formatted, html_only=True, start_br=False)
>         else:
>             formatted = '%-11s: %s' % (key, value)

>     ("smtppassword", True, None, "sets password for SMTP AUTH"),
>     ("smtpssl", False, False, "enables SSL for SMTP"),
>     ("manual", True, None, "notify for a manually given set of revisions"),
34a66
>     ("colordiff", False, False, "colorize diffs using pygments library"),
38c70,71
<     ("link", True, None, "Link to insert into mail, %s will be replaced with revision"),
---
>     ("link", True, None,
>      "Link to insert into mail, %s will be replaced with revision"),
42c75,76
<     ("mergediffs", True, set(), "branches for which complete merge diffs are to be included"),
---
>     ("mergediffs", True, set(),
>      "branches for which complete merge diffs are to be included"),
45c79,83
< class State:
---
> 
