Show More
@@ -26,6 +26,7 b' from mercurial.i18n import _' | |||
|
26 | 26 | from mercurial import ( |
|
27 | 27 | encoding, |
|
28 | 28 | error, |
|
29 | formatter, | |
|
29 | 30 | logcmdutil, |
|
30 | 31 | mail, |
|
31 | 32 | obsutil, |
@@ -62,7 +63,7 b' def _report_commit(ui, repo, ctx):' | |||
|
62 | 63 | b'notify_obsoleted', b'messageidseed' |
|
63 | 64 | ) or ui.config(b'notify', b'messageidseed') |
|
64 | 65 | template = ui.config(b'notify_obsoleted', b'template') |
|
65 |
spec = |
|
|
66 | spec = formatter.literal_templatespec(template) | |
|
66 | 67 | templater = logcmdutil.changesettemplater(ui, repo, spec) |
|
67 | 68 | ui.pushbuffer() |
|
68 | 69 | n = notify.notifier(ui, repo, b'incoming') |
@@ -26,6 +26,7 b' from mercurial.i18n import _' | |||
|
26 | 26 | from mercurial import ( |
|
27 | 27 | encoding, |
|
28 | 28 | error, |
|
29 | formatter, | |
|
29 | 30 | logcmdutil, |
|
30 | 31 | mail, |
|
31 | 32 | pycompat, |
@@ -61,7 +62,7 b' def _report_commit(ui, repo, ctx):' | |||
|
61 | 62 | b'notify_published', b'messageidseed' |
|
62 | 63 | ) or ui.config(b'notify', b'messageidseed') |
|
63 | 64 | template = ui.config(b'notify_published', b'template') |
|
64 |
spec = |
|
|
65 | spec = formatter.literal_templatespec(template) | |
|
65 | 66 | templater = logcmdutil.changesettemplater(ui, repo, spec) |
|
66 | 67 | ui.pushbuffer() |
|
67 | 68 | n = notify.notifier(ui, repo, b'incoming') |
General Comments 0
You need to be logged in to leave comments.
Login now