Show More
@@ -92,7 +92,7 b' summary: {desc|firstline}' | |||
|
92 | 92 | |
|
93 | 93 | deftemplates = { |
|
94 | 94 | 'changegroup': multiple_template, |
|
95 | } | |
|
95 | } | |
|
96 | 96 | |
|
97 | 97 | class notifier(object): |
|
98 | 98 | '''email notification class.''' |
@@ -211,7 +211,8 b' class notifier(object):' | |||
|
211 | 211 | msg['From'] = sender |
|
212 | 212 | |
|
213 | 213 | msg['Date'] = util.datestr(date=util.makedate(), |
|
214 |
format="%a, %d %b %Y %H:%M:%S", |
|
|
214 | format="%a, %d %b %Y %H:%M:%S", | |
|
215 | timezone=True) | |
|
215 | 216 | fix_subject() |
|
216 | 217 | fix_sender() |
|
217 | 218 | |
@@ -229,7 +230,7 b' class notifier(object):' | |||
|
229 | 230 | self.ui.write('\n') |
|
230 | 231 | else: |
|
231 | 232 | self.ui.status(_('notify: sending %d subscribers %d changes\n') % |
|
232 |
|
|
|
233 | (len(self.subs), count)) | |
|
233 | 234 | mail.sendmail(self.ui, templater.email(msg['From']), |
|
234 | 235 | self.subs, msgtext) |
|
235 | 236 | |
@@ -265,7 +266,7 b' def hook(ui, repo, hooktype, node=None, ' | |||
|
265 | 266 | return |
|
266 | 267 | if n.skipsource(source): |
|
267 | 268 | ui.debug(_('notify: changes have source "%s" - skipping\n') % |
|
268 |
|
|
|
269 | source) | |
|
269 | 270 | return |
|
270 | 271 | node = bin(node) |
|
271 | 272 | ui.pushbuffer() |
@@ -48,7 +48,7 b' filelogparent = \'<tr><td align="right">p' | |||
|
48 | 48 | filediffchild = '<tr><td>child {rev}</td><td style="font-family:monospace"><a class="list" href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>' |
|
49 | 49 | filelogchild = '<tr><td align="right">child #rev#: </td><td><a href="{url}file{node|short}/#file|urlescape#{sessionvars%urlparameter}">#node|short#</a></td></tr>' |
|
50 | 50 | shortlog = shortlog.tmpl |
|
51 | shortlogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><i>#author#</i></td><td><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}"><b>#desc|strip|firstline|escape#</b></a></td><td class="link" nowrap><a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">manifest</a></td></tr>' | |
|
51 | shortlogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><i>#author|obfuscate#</i></td><td><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}"><b>#desc|strip|firstline|escape#</b></a></td><td class="link" nowrap><a href="{url}rev/#node|short#{sessionvars%urlparameter}">changeset</a> | <a href="{url}file/#node|short#{sessionvars%urlparameter}">manifest</a></td></tr>' | |
|
52 | 52 | filelogentry = '<tr class="parity#parity#"><td class="age"><i>#date|age# ago</i></td><td><a class="list" href="{url}rev/#node|short#{sessionvars%urlparameter}"><b>#desc|strip|firstline|escape#</b></a></td><td class="link"><a href="{url}file/#node|short#/#file|urlescape#{sessionvars%urlparameter}">file</a> | <a href="{url}diff/#node|short#/#file|urlescape#{sessionvars%urlparameter}">diff</a> | <a href="{url}annotate/#node|short#/#file|urlescape#{sessionvars%urlparameter}">annotate</a> #rename%filelogrename#</td></tr>' |
|
53 | 53 | archiveentry = ' | <a href="{url}archive/{node|short}{extension}">#type|escape#</a> ' |
|
54 | 54 | indexentry = '<tr class="parity#parity#"><td><a class="list" href="#url#{sessionvars%urlparameter}"><b>#name|escape#</b></a></td><td>#description#</td><td>#contact|obfuscate#</td><td class="age">#lastchange|age# ago</td><td class="indexlinks"><a class="rss_logo" href="#url#rss-log">RSS</a> #archives%archiveentry#</td></tr>' |
General Comments 0
You need to be logged in to leave comments.
Login now